headers: path.h redux
Subsystems (5)
PATCH 1/2 headers: path.h redux
Remove path.h from sched.h and other files.
Signed-off-by Alexey Dobriyan <[email protected]>
---
include/linux/audit.h | 1 + include/linux/dcookies.h | 2 +- include/linux/sched.h | 1 - security/apparmor/include/file.h | 3 +-- security/selinux/include/avc.h | 1 - 5 files changed, 3 insertions(+), 5 deletions(-)
include/linux/audit.h +1 -0
@@ -372,6 +372,7 @@ struct audit_buffer;struct audit_context ;struct inode ;struct netlink_skb_parms ; +struct path ;struct linux_binprm ;struct mq_attr ;struct mqstat ;
include/linux/dcookies.h +1 -1
@@ -13,10 +13,10 @@#ifdef CONFIG_PROFILING #include <linux/dcache.h> -#include <linux/path.h> #include <linux/types.h> struct dcookie_user ; +struct path ;/** * dcookie_register - register a user of dcookies
include/linux/sched.h +0 -1
@@ -70,7 +70,6 @@ struct sched_param {#include <linux/smp.h> #include <linux/sem.h> #include <linux/signal.h> -#include <linux/path.h> #include <linux/compiler.h> #include <linux/completion.h> #include <linux/pid.h>
security/apparmor/include/file.h +1 -2
@@ -15,12 +15,11 @@#ifndef __AA_FILE_H#define __AA_FILE_H -#include <linux/path.h> -#include "domain.h" #include "match.h" struct aa_profile ; +struct path ;/* * We use MAY_EXEC, MAY_WRITE, MAY_READ, MAY_APPEND and the following flags
security/selinux/include/avc.h +0 -1
@@ -15,7 +15,6 @@#include <linux/audit.h> #include <linux/lsm_audit.h> #include <linux/in6.h> -#include <linux/path.h> #include <asm/system.h> #include "flask.h" #include "av_permissions.h"