Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
08139544
Commit
08139544
authored
Jul 22, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LSM: convert initializers to C99 style.
parent
f121b8fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
109 additions
and
109 deletions
+109
-109
security/capability.c
security/capability.c
+53
-53
security/dummy.c
security/dummy.c
+56
-56
No files found.
security/capability.c
View file @
08139544
...
...
@@ -706,61 +706,61 @@ static struct security_operations capability_ops = {
.
bprm_set_security
=
cap_bprm_set_security
,
.
bprm_check_security
=
cap_bprm_check_security
,
sb_alloc_security:
cap_sb_alloc_security
,
sb_free_security:
cap_sb_free_security
,
sb_statfs:
cap_sb_statfs
,
sb_mount:
cap_mount
,
sb_check_sb:
cap_check_sb
,
sb_umount:
cap_umount
,
sb_umount_close:
cap_umount_close
,
sb_umount_busy:
cap_umount_busy
,
sb_post_remount:
cap_post_remount
,
sb_post_mountroot:
cap_post_mountroot
,
sb_post_addmount:
cap_post_addmount
,
sb_pivotroot:
cap_pivotroot
,
sb_post_pivotroot:
cap_post_pivotroot
,
.
sb_alloc_security
=
cap_sb_alloc_security
,
.
sb_free_security
=
cap_sb_free_security
,
.
sb_statfs
=
cap_sb_statfs
,
.
sb_mount
=
cap_mount
,
.
sb_check_sb
=
cap_check_sb
,
.
sb_umount
=
cap_umount
,
.
sb_umount_close
=
cap_umount_close
,
.
sb_umount_busy
=
cap_umount_busy
,
.
sb_post_remount
=
cap_post_remount
,
.
sb_post_mountroot
=
cap_post_mountroot
,
.
sb_post_addmount
=
cap_post_addmount
,
.
sb_pivotroot
=
cap_pivotroot
,
.
sb_post_pivotroot
=
cap_post_pivotroot
,
inode_alloc_security:
cap_inode_alloc_security
,
inode_free_security:
cap_inode_free_security
,
inode_create:
cap_inode_create
,
inode_post_create:
cap_inode_post_create
,
inode_link:
cap_inode_link
,
inode_post_link:
cap_inode_post_link
,
inode_unlink:
cap_inode_unlink
,
inode_symlink:
cap_inode_symlink
,
inode_post_symlink:
cap_inode_post_symlink
,
inode_mkdir:
cap_inode_mkdir
,
inode_post_mkdir:
cap_inode_post_mkdir
,
inode_rmdir:
cap_inode_rmdir
,
inode_mknod:
cap_inode_mknod
,
inode_post_mknod:
cap_inode_post_mknod
,
inode_rename:
cap_inode_rename
,
inode_post_rename:
cap_inode_post_rename
,
inode_readlink:
cap_inode_readlink
,
inode_follow_link:
cap_inode_follow_link
,
inode_permission:
cap_inode_permission
,
inode_permission_lite:
cap_inode_permission_lite
,
inode_setattr:
cap_inode_setattr
,
inode_getattr:
cap_inode_getattr
,
inode_post_lookup:
cap_post_lookup
,
inode_delete:
cap_delete
,
inode_setxattr:
cap_inode_setxattr
,
inode_getxattr:
cap_inode_getxattr
,
inode_listxattr:
cap_inode_listxattr
,
inode_removexattr:
cap_inode_removexattr
,
.
inode_alloc_security
=
cap_inode_alloc_security
,
.
inode_free_security
=
cap_inode_free_security
,
.
inode_create
=
cap_inode_create
,
.
inode_post_create
=
cap_inode_post_create
,
.
inode_link
=
cap_inode_link
,
.
inode_post_link
=
cap_inode_post_link
,
.
inode_unlink
=
cap_inode_unlink
,
.
inode_symlink
=
cap_inode_symlink
,
.
inode_post_symlink
=
cap_inode_post_symlink
,
.
inode_mkdir
=
cap_inode_mkdir
,
.
inode_post_mkdir
=
cap_inode_post_mkdir
,
.
inode_rmdir
=
cap_inode_rmdir
,
.
inode_mknod
=
cap_inode_mknod
,
.
inode_post_mknod
=
cap_inode_post_mknod
,
.
inode_rename
=
cap_inode_rename
,
.
inode_post_rename
=
cap_inode_post_rename
,
.
inode_readlink
=
cap_inode_readlink
,
.
inode_follow_link
=
cap_inode_follow_link
,
.
inode_permission
=
cap_inode_permission
,
.
inode_permission_lite
=
cap_inode_permission_lite
,
.
inode_setattr
=
cap_inode_setattr
,
.
inode_getattr
=
cap_inode_getattr
,
.
inode_post_lookup
=
cap_post_lookup
,
.
inode_delete
=
cap_delete
,
.
inode_setxattr
=
cap_inode_setxattr
,
.
inode_getxattr
=
cap_inode_getxattr
,
.
inode_listxattr
=
cap_inode_listxattr
,
.
inode_removexattr
=
cap_inode_removexattr
,
file_permission:
cap_file_permission
,
file_alloc_security:
cap_file_alloc_security
,
file_free_security:
cap_file_free_security
,
file_llseek:
cap_file_llseek
,
file_ioctl:
cap_file_ioctl
,
file_mmap:
cap_file_mmap
,
file_mprotect:
cap_file_mprotect
,
file_lock:
cap_file_lock
,
file_fcntl:
cap_file_fcntl
,
file_set_fowner:
cap_file_set_fowner
,
file_send_sigiotask:
cap_file_send_sigiotask
,
file_receive:
cap_file_receive
,
.
file_permission
=
cap_file_permission
,
.
file_alloc_security
=
cap_file_alloc_security
,
.
file_free_security
=
cap_file_free_security
,
.
file_llseek
=
cap_file_llseek
,
.
file_ioctl
=
cap_file_ioctl
,
.
file_mmap
=
cap_file_mmap
,
.
file_mprotect
=
cap_file_mprotect
,
.
file_lock
=
cap_file_lock
,
.
file_fcntl
=
cap_file_fcntl
,
.
file_set_fowner
=
cap_file_set_fowner
,
.
file_send_sigiotask
=
cap_file_send_sigiotask
,
.
file_receive
=
cap_file_receive
,
.
task_create
=
cap_task_create
,
.
task_alloc_security
=
cap_task_alloc_security
,
...
...
security/dummy.c
View file @
08139544
...
...
@@ -511,8 +511,8 @@ struct security_operations dummy_security_ops = {
.
acct
=
dummy_act
,
.
capable
=
dummy_capable
,
.
sys_security
=
dummy_sys_security
,
quotactl:
dummy_quotactl
,
quota_on:
dummy_quota_on
,
.
quotactl
=
dummy_quotactl
,
.
quota_on
=
dummy_quota_on
,
.
bprm_alloc_security
=
dummy_bprm_alloc_security
,
.
bprm_free_security
=
dummy_bprm_free_security
,
...
...
@@ -520,61 +520,61 @@ struct security_operations dummy_security_ops = {
.
bprm_set_security
=
dummy_bprm_set_security
,
.
bprm_check_security
=
dummy_bprm_check_security
,
sb_alloc_security:
dummy_sb_alloc_security
,
sb_free_security:
dummy_sb_free_security
,
sb_statfs:
dummy_sb_statfs
,
sb_mount:
dummy_mount
,
sb_check_sb:
dummy_check_sb
,
sb_umount:
dummy_umount
,
sb_umount_close:
dummy_umount_close
,
sb_umount_busy:
dummy_umount_busy
,
sb_post_remount:
dummy_post_remount
,
sb_post_mountroot:
dummy_post_mountroot
,
sb_post_addmount:
dummy_post_addmount
,
sb_pivotroot:
dummy_pivotroot
,
sb_post_pivotroot:
dummy_post_pivotroot
,
.
sb_alloc_security
=
dummy_sb_alloc_security
,
.
sb_free_security
=
dummy_sb_free_security
,
.
sb_statfs
=
dummy_sb_statfs
,
.
sb_mount
=
dummy_mount
,
.
sb_check_sb
=
dummy_check_sb
,
.
sb_umount
=
dummy_umount
,
.
sb_umount_close
=
dummy_umount_close
,
.
sb_umount_busy
=
dummy_umount_busy
,
.
sb_post_remount
=
dummy_post_remount
,
.
sb_post_mountroot
=
dummy_post_mountroot
,
.
sb_post_addmount
=
dummy_post_addmount
,
.
sb_pivotroot
=
dummy_pivotroot
,
.
sb_post_pivotroot
=
dummy_post_pivotroot
,
inode_alloc_security:
dummy_inode_alloc_security
,
inode_free_security:
dummy_inode_free_security
,
inode_create:
dummy_inode_create
,
inode_post_create:
dummy_inode_post_create
,
inode_link:
dummy_inode_link
,
inode_post_link:
dummy_inode_post_link
,
inode_unlink:
dummy_inode_unlink
,
inode_symlink:
dummy_inode_symlink
,
inode_post_symlink:
dummy_inode_post_symlink
,
inode_mkdir:
dummy_inode_mkdir
,
inode_post_mkdir:
dummy_inode_post_mkdir
,
inode_rmdir:
dummy_inode_rmdir
,
inode_mknod:
dummy_inode_mknod
,
inode_post_mknod:
dummy_inode_post_mknod
,
inode_rename:
dummy_inode_rename
,
inode_post_rename:
dummy_inode_post_rename
,
inode_readlink:
dummy_inode_readlink
,
inode_follow_link:
dummy_inode_follow_link
,
inode_permission:
dummy_inode_permission
,
inode_permission_lite:
dummy_inode_permission_lite
,
inode_setattr:
dummy_inode_setattr
,
inode_getattr:
dummy_inode_getattr
,
inode_post_lookup:
dummy_post_lookup
,
inode_delete:
dummy_delete
,
inode_setxattr:
dummy_inode_setxattr
,
inode_getxattr:
dummy_inode_getxattr
,
inode_listxattr:
dummy_inode_listxattr
,
inode_removexattr:
dummy_inode_removexattr
,
file_permission:
dummy_file_permission
,
file_alloc_security:
dummy_file_alloc_security
,
file_free_security:
dummy_file_free_security
,
file_llseek:
dummy_file_llseek
,
file_ioctl:
dummy_file_ioctl
,
file_mmap:
dummy_file_mmap
,
file_mprotect:
dummy_file_mprotect
,
file_lock:
dummy_file_lock
,
file_fcntl:
dummy_file_fcntl
,
file_set_fowner:
dummy_file_set_fowner
,
file_send_sigiotask:
dummy_file_send_sigiotask
,
file_receive:
dummy_file_receive
,
.
inode_alloc_security
=
dummy_inode_alloc_security
,
.
inode_free_security
=
dummy_inode_free_security
,
.
inode_create
=
dummy_inode_create
,
.
inode_post_create
=
dummy_inode_post_create
,
.
inode_link
=
dummy_inode_link
,
.
inode_post_link
=
dummy_inode_post_link
,
.
inode_unlink
=
dummy_inode_unlink
,
.
inode_symlink
=
dummy_inode_symlink
,
.
inode_post_symlink
=
dummy_inode_post_symlink
,
.
inode_mkdir
=
dummy_inode_mkdir
,
.
inode_post_mkdir
=
dummy_inode_post_mkdir
,
.
inode_rmdir
=
dummy_inode_rmdir
,
.
inode_mknod
=
dummy_inode_mknod
,
.
inode_post_mknod
=
dummy_inode_post_mknod
,
.
inode_rename
=
dummy_inode_rename
,
.
inode_post_rename
=
dummy_inode_post_rename
,
.
inode_readlink
=
dummy_inode_readlink
,
.
inode_follow_link
=
dummy_inode_follow_link
,
.
inode_permission
=
dummy_inode_permission
,
.
inode_permission_lite
=
dummy_inode_permission_lite
,
.
inode_setattr
=
dummy_inode_setattr
,
.
inode_getattr
=
dummy_inode_getattr
,
.
inode_post_lookup
=
dummy_post_lookup
,
.
inode_delete
=
dummy_delete
,
.
inode_setxattr
=
dummy_inode_setxattr
,
.
inode_getxattr
=
dummy_inode_getxattr
,
.
inode_listxattr
=
dummy_inode_listxattr
,
.
inode_removexattr
=
dummy_inode_removexattr
,
.
file_permission
=
dummy_file_permission
,
.
file_alloc_security
=
dummy_file_alloc_security
,
.
file_free_security
=
dummy_file_free_security
,
.
file_llseek
=
dummy_file_llseek
,
.
file_ioctl
=
dummy_file_ioctl
,
.
file_mmap
=
dummy_file_mmap
,
.
file_mprotect
=
dummy_file_mprotect
,
.
file_lock
=
dummy_file_lock
,
.
file_fcntl
=
dummy_file_fcntl
,
.
file_set_fowner
=
dummy_file_set_fowner
,
.
file_send_sigiotask
=
dummy_file_send_sigiotask
,
.
file_receive
=
dummy_file_receive
,
.
task_create
=
dummy_task_create
,
.
task_alloc_security
=
dummy_task_alloc_security
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment