aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack/smackfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/smack/smackfs.c')
-rw-r--r--security/smack/smackfs.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c
index 8e42800878f4..fd8d1eb43700 100644
--- a/security/smack/smackfs.c
+++ b/security/smack/smackfs.c
@@ -245,7 +245,7 @@ out:
245 245
246/** 246/**
247 * smk_write_load - write() for /smack/load 247 * smk_write_load - write() for /smack/load
248 * @filp: file pointer, not actually used 248 * @file: file pointer, not actually used
249 * @buf: where to get the data from 249 * @buf: where to get the data from
250 * @count: bytes sent 250 * @count: bytes sent
251 * @ppos: where to start - must be 0 251 * @ppos: where to start - must be 0
@@ -402,6 +402,7 @@ static void smk_cipso_doi(void)
402 402
403/** 403/**
404 * smk_unlbl_ambient - initialize the unlabeled domain 404 * smk_unlbl_ambient - initialize the unlabeled domain
405 * @oldambient: previous domain string
405 */ 406 */
406static void smk_unlbl_ambient(char *oldambient) 407static void smk_unlbl_ambient(char *oldambient)
407{ 408{
@@ -513,7 +514,7 @@ static int smk_open_cipso(struct inode *inode, struct file *file)
513 514
514/** 515/**
515 * smk_write_cipso - write() for /smack/cipso 516 * smk_write_cipso - write() for /smack/cipso
516 * @filp: file pointer, not actually used 517 * @file: file pointer, not actually used
517 * @buf: where to get the data from 518 * @buf: where to get the data from
518 * @count: bytes sent 519 * @count: bytes sent
519 * @ppos: where to start 520 * @ppos: where to start
@@ -703,7 +704,7 @@ static int smk_open_netlbladdr(struct inode *inode, struct file *file)
703 704
704/** 705/**
705 * smk_write_netlbladdr - write() for /smack/netlabel 706 * smk_write_netlbladdr - write() for /smack/netlabel
706 * @filp: file pointer, not actually used 707 * @file: file pointer, not actually used
707 * @buf: where to get the data from 708 * @buf: where to get the data from
708 * @count: bytes sent 709 * @count: bytes sent
709 * @ppos: where to start 710 * @ppos: where to start
@@ -850,7 +851,7 @@ static ssize_t smk_read_doi(struct file *filp, char __user *buf,
850 851
851/** 852/**
852 * smk_write_doi - write() for /smack/doi 853 * smk_write_doi - write() for /smack/doi
853 * @filp: file pointer, not actually used 854 * @file: file pointer, not actually used
854 * @buf: where to get the data from 855 * @buf: where to get the data from
855 * @count: bytes sent 856 * @count: bytes sent
856 * @ppos: where to start 857 * @ppos: where to start
@@ -915,7 +916,7 @@ static ssize_t smk_read_direct(struct file *filp, char __user *buf,
915 916
916/** 917/**
917 * smk_write_direct - write() for /smack/direct 918 * smk_write_direct - write() for /smack/direct
918 * @filp: file pointer, not actually used 919 * @file: file pointer, not actually used
919 * @buf: where to get the data from 920 * @buf: where to get the data from
920 * @count: bytes sent 921 * @count: bytes sent
921 * @ppos: where to start 922 * @ppos: where to start
@@ -990,7 +991,7 @@ static ssize_t smk_read_ambient(struct file *filp, char __user *buf,
990 991
991/** 992/**
992 * smk_write_ambient - write() for /smack/ambient 993 * smk_write_ambient - write() for /smack/ambient
993 * @filp: file pointer, not actually used 994 * @file: file pointer, not actually used
994 * @buf: where to get the data from 995 * @buf: where to get the data from
995 * @count: bytes sent 996 * @count: bytes sent
996 * @ppos: where to start 997 * @ppos: where to start
@@ -1065,7 +1066,7 @@ static ssize_t smk_read_onlycap(struct file *filp, char __user *buf,
1065 1066
1066/** 1067/**
1067 * smk_write_onlycap - write() for /smack/onlycap 1068 * smk_write_onlycap - write() for /smack/onlycap
1068 * @filp: file pointer, not actually used 1069 * @file: file pointer, not actually used
1069 * @buf: where to get the data from 1070 * @buf: where to get the data from
1070 * @count: bytes sent 1071 * @count: bytes sent
1071 * @ppos: where to start 1072 * @ppos: where to start