]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/cred.h
CRED: Make execve() take advantage of copy-on-write credentials
[linux-2.6-omap-h63xx.git] / include / linux / cred.h
index eaf6fa695a0475fd324579f514cb7a02d90f1272..8edb4d1d5427fbc7b64200e43c55c0ce2992de3e 100644 (file)
@@ -84,8 +84,6 @@ struct thread_group_cred {
        struct key      *process_keyring;       /* keyring private to this process */
        struct rcu_head rcu;                    /* RCU deletion hook */
 };
-
-extern void release_tgcred(struct cred *cred);
 #endif
 
 /*
@@ -144,6 +142,7 @@ struct cred {
 extern void __put_cred(struct cred *);
 extern int copy_creds(struct task_struct *, unsigned long);
 extern struct cred *prepare_creds(void);
+extern struct cred *prepare_exec_creds(void);
 extern struct cred *prepare_usermodehelper_creds(void);
 extern int commit_creds(struct cred *);
 extern void abort_creds(struct cred *);