Commit 14729dbe authored by Linus Torvalds's avatar Linus Torvalds

Make some single-bit bitfields unsigned.

Signed single-bit bitfields really are a pretty strange
thing to have. They work, but it wasn't really intentional.
parent 672a4830
......@@ -425,7 +425,7 @@ struct task_struct {
int pdeath_signal; /* The signal sent when the parent dies */
/* ??? */
unsigned long personality;
int did_exec:1;
unsigned did_exec:1;
pid_t pid;
pid_t tgid;
/*
......@@ -465,7 +465,7 @@ struct task_struct {
gid_t gid,egid,sgid,fsgid;
struct group_info *group_info;
kernel_cap_t cap_effective, cap_inheritable, cap_permitted;
int keep_capabilities:1;
unsigned keep_capabilities:1;
struct user_struct *user;
/* limits */
struct rlimit rlim[RLIM_NLIMITS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment