Home
last modified time | relevance | path

Searched refs:N_MAGIC (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/include/uapi/linux/
Da.out.h43 #if !defined (N_MAGIC)
44 #define N_MAGIC(exec) ((exec).a_info & 0xffff) macro
77 #define N_BADMAG(x) (N_MAGIC(x) != OMAGIC \
78 && N_MAGIC(x) != NMAGIC \
79 && N_MAGIC(x) != ZMAGIC \
80 && N_MAGIC(x) != QMAGIC)
87 (N_MAGIC(x) == ZMAGIC ? _N_HDROFF((x)) + sizeof (struct exec) : \
88 (N_MAGIC(x) == QMAGIC ? 0 : sizeof (struct exec)))
113 #define N_TXTADDR(x) (N_MAGIC(x) == QMAGIC ? PAGE_SIZE : 0)
136 (N_MAGIC(x)==OMAGIC? (_N_TXTENDADDR(x)) \
/Linux-v5.10/arch/x86/ia32/
Dia32_aout.c112 if ((N_MAGIC(ex) != ZMAGIC && N_MAGIC(ex) != OMAGIC && in load_aout_binary()
113 N_MAGIC(ex) != QMAGIC && N_MAGIC(ex) != NMAGIC) || in load_aout_binary()
158 if (N_MAGIC(ex) == OMAGIC) { in load_aout_binary()
177 (N_MAGIC(ex) != NMAGIC) && in load_aout_binary()
258 if ((N_MAGIC(ex) != ZMAGIC && N_MAGIC(ex) != QMAGIC) || N_TRSIZE(ex) || in load_aout_library()
259 N_DRSIZE(ex) || ((ex.a_entry & 0xfff) && N_MAGIC(ex) == ZMAGIC) || in load_aout_library()
/Linux-v5.10/fs/
Dbinfmt_aout.c127 if ((N_MAGIC(ex) != ZMAGIC && N_MAGIC(ex) != OMAGIC && in load_aout_binary()
128 N_MAGIC(ex) != QMAGIC && N_MAGIC(ex) != NMAGIC) || in load_aout_binary()
178 if (N_MAGIC(ex) == OMAGIC) { in load_aout_binary()
201 (N_MAGIC(ex) != NMAGIC) && printk_ratelimit()) in load_aout_binary()
272 if ((N_MAGIC(ex) != ZMAGIC && N_MAGIC(ex) != QMAGIC) || N_TRSIZE(ex) || in load_aout_library()
273 N_DRSIZE(ex) || ((ex.a_entry & 0xfff) && N_MAGIC(ex) == ZMAGIC) || in load_aout_library()
/Linux-v5.10/arch/alpha/include/uapi/asm/
Da.out.h89 ((long) N_MAGIC(x) == ZMAGIC ? 0 : \
/Linux-v5.10/arch/alpha/boot/tools/
Dobjstrip.c212 if (N_MAGIC(*aout) != OMAGIC) { in main()