Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104633
b: refs/heads/master
c: 6519108
h: refs/heads/master
i:
  104631: c12c66d
v: v3
  • Loading branch information
John Reiser authored and Linus Torvalds committed Jul 22, 2008
1 parent 5db5dd8 commit 9c962d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93ded9b8fd42abe2c3607097963d8de6ad9117eb
refs/heads/master: 651910874633a75f4a726d44e449be0a56b4b2e0
1 change: 1 addition & 0 deletions trunk/fs/binfmt_elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec,
NEW_AUX_ENT(AT_GID, tsk->gid);
NEW_AUX_ENT(AT_EGID, tsk->egid);
NEW_AUX_ENT(AT_SECURE, security_bprm_secureexec(bprm));
NEW_AUX_ENT(AT_EXECFN, bprm->exec);
if (k_platform) {
NEW_AUX_ENT(AT_PLATFORM,
(elf_addr_t)(unsigned long)u_platform);
Expand Down
4 changes: 3 additions & 1 deletion trunk/include/linux/auxvec.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@

#define AT_SECURE 23 /* secure mode boolean */

#define AT_EXECFN 31 /* filename of program */
#ifdef __KERNEL__
#define AT_VECTOR_SIZE_BASE (14 + 2) /* NEW_AUX_ENT entries in auxiliary table */
#define AT_VECTOR_SIZE_BASE 17 /* NEW_AUX_ENT entries in auxiliary table */
/* number of "#define AT_.*" above, minus {AT_NULL, AT_IGNORE, AT_NOTELF} */
#endif

#endif /* _LINUX_AUXVEC_H */

0 comments on commit 9c962d7

Please sign in to comment.