diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 901742f92389..2c69682b0444 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -561,9 +561,10 @@ struct group_info { | |||
561 | groups_free(group_info); \ | 561 | groups_free(group_info); \ |
562 | } while (0) | 562 | } while (0) |
563 | 563 | ||
564 | struct group_info *groups_alloc(int gidsetsize); | 564 | extern struct group_info *groups_alloc(int gidsetsize); |
565 | void groups_free(struct group_info *group_info); | 565 | extern void groups_free(struct group_info *group_info); |
566 | int set_current_groups(struct group_info *group_info); | 566 | extern int set_current_groups(struct group_info *group_info); |
567 | extern int groups_search(struct group_info *group_info, gid_t grp); | ||
567 | /* access the groups "array" with this macro */ | 568 | /* access the groups "array" with this macro */ |
568 | #define GROUP_AT(gi, i) \ | 569 | #define GROUP_AT(gi, i) \ |
569 | ((gi)->blocks[(i)/NGROUPS_PER_BLOCK][(i)%NGROUPS_PER_BLOCK]) | 570 | ((gi)->blocks[(i)/NGROUPS_PER_BLOCK][(i)%NGROUPS_PER_BLOCK]) |
@@ -660,6 +661,7 @@ struct task_struct { | |||
660 | struct user_struct *user; | 661 | struct user_struct *user; |
661 | #ifdef CONFIG_KEYS | 662 | #ifdef CONFIG_KEYS |
662 | struct key *thread_keyring; /* keyring private to this thread */ | 663 | struct key *thread_keyring; /* keyring private to this thread */ |
664 | unsigned char jit_keyring; /* default keyring to attach requested keys to */ | ||
663 | #endif | 665 | #endif |
664 | int oomkilladj; /* OOM kill score adjustment (bit shift). */ | 666 | int oomkilladj; /* OOM kill score adjustment (bit shift). */ |
665 | char comm[TASK_COMM_LEN]; /* executable name excluding path | 667 | char comm[TASK_COMM_LEN]; /* executable name excluding path |