lkml.org 
[lkml]   [2004]   [May]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 12 May 2004 21:14:11 -0700
FromAndrew Morton <>
SubjectRe: [PATCH 1/2] capabilities: cleanups
Andy Lutomirski <luto@myrealbox.com> wrote:
>
> --- linux-2.6.6-mm1/include/linux/binfmts.h~cap_1_cleanup	2004-05-10 23:52:05.000000000 -0700
>  +++ linux-2.6.6-mm1/include/linux/binfmts.h	2004-05-11 00:58:13.000000000 -0700
>  @@ -20,6 +20,9 @@
>   /*
>    * This structure is used to hold the arguments that are used when loading binaries.
>    */
>  +#define BINPRM_SEC_SETUID	1
>  +#define BINPRM_SEC_SETGID	2
>  +#define BINPRM_SEC_SECUREEXEC	4
>   struct linux_binprm{
>   	char buf[BINPRM_BUF_SIZE];
>   	struct page *page[MAX_ARG_PAGES];
>  @@ -27,8 +30,9 @@
>   	unsigned long p; /* current top of mem */
>   	int sh_bang;
>   	struct file * file;
>  -	int e_uid, e_gid;
>  -	kernel_cap_t cap_inheritable, cap_permitted, cap_effective;
>  +	int set_uid, set_gid;
>  +	int secflags;
>  +	kernel_cap_t cap_inheritable, cap_permitted;

security/dummy.c: In function `dummy_bprm_apply_creds':
security/dummy.c:176: structure has no member named `e_uid'
security/dummy.c:176: structure has no member named `e_gid'
security/dummy.c:180: structure has no member named `e_uid'
security/dummy.c:181: structure has no member named `e_gid'
security/dummy.c:185: structure has no member named `e_uid'
security/dummy.c:186: structure has no member named `e_gid'

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [from the cache]
©2003-2008