|
@@ -77,7 +77,6 @@ extern int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3,
|
|
extern int cap_task_setscheduler(struct task_struct *p);
|
|
extern int cap_task_setscheduler(struct task_struct *p);
|
|
extern int cap_task_setioprio(struct task_struct *p, int ioprio);
|
|
extern int cap_task_setioprio(struct task_struct *p, int ioprio);
|
|
extern int cap_task_setnice(struct task_struct *p, int nice);
|
|
extern int cap_task_setnice(struct task_struct *p, int nice);
|
|
-extern int cap_syslog(int type, bool from_file);
|
|
|
|
extern int cap_vm_enough_memory(struct mm_struct *mm, long pages);
|
|
extern int cap_vm_enough_memory(struct mm_struct *mm, long pages);
|
|
|
|
|
|
struct msghdr;
|
|
struct msghdr;
|
|
@@ -1388,7 +1387,7 @@ struct security_operations {
|
|
int (*sysctl) (struct ctl_table *table, int op);
|
|
int (*sysctl) (struct ctl_table *table, int op);
|
|
int (*quotactl) (int cmds, int type, int id, struct super_block *sb);
|
|
int (*quotactl) (int cmds, int type, int id, struct super_block *sb);
|
|
int (*quota_on) (struct dentry *dentry);
|
|
int (*quota_on) (struct dentry *dentry);
|
|
- int (*syslog) (int type, bool from_file);
|
|
|
|
|
|
+ int (*syslog) (int type);
|
|
int (*settime) (struct timespec *ts, struct timezone *tz);
|
|
int (*settime) (struct timespec *ts, struct timezone *tz);
|
|
int (*vm_enough_memory) (struct mm_struct *mm, long pages);
|
|
int (*vm_enough_memory) (struct mm_struct *mm, long pages);
|
|
|
|
|
|
@@ -1671,7 +1670,7 @@ int security_real_capable_noaudit(struct task_struct *tsk, int cap);
|
|
int security_sysctl(struct ctl_table *table, int op);
|
|
int security_sysctl(struct ctl_table *table, int op);
|
|
int security_quotactl(int cmds, int type, int id, struct super_block *sb);
|
|
int security_quotactl(int cmds, int type, int id, struct super_block *sb);
|
|
int security_quota_on(struct dentry *dentry);
|
|
int security_quota_on(struct dentry *dentry);
|
|
-int security_syslog(int type, bool from_file);
|
|
|
|
|
|
+int security_syslog(int type);
|
|
int security_settime(struct timespec *ts, struct timezone *tz);
|
|
int security_settime(struct timespec *ts, struct timezone *tz);
|
|
int security_vm_enough_memory(long pages);
|
|
int security_vm_enough_memory(long pages);
|
|
int security_vm_enough_memory_mm(struct mm_struct *mm, long pages);
|
|
int security_vm_enough_memory_mm(struct mm_struct *mm, long pages);
|
|
@@ -1901,9 +1900,9 @@ static inline int security_quota_on(struct dentry *dentry)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline int security_syslog(int type, bool from_file)
|
|
|
|
|
|
+static inline int security_syslog(int type)
|
|
{
|
|
{
|
|
- return cap_syslog(type, from_file);
|
|
|
|
|
|
+ return 0;
|
|
}
|
|
}
|
|
|
|
|
|
static inline int security_settime(struct timespec *ts, struct timezone *tz)
|
|
static inline int security_settime(struct timespec *ts, struct timezone *tz)
|