aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/selinuxfs.c
AgeCommit message (Expand)AuthorFilesLines
2 daysMerge tag 'selinux-pr-20240513' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-14/+22
2024-04-30selinux: pre-allocate the status pageChristian Göttsche1-0/+6
2024-04-01selinux: avoid dereference of garbage after mount failureChristian Göttsche1-5/+7
2024-03-26selinux: improve error checking in sel_write_load()Paul Moore1-14/+16
2023-11-16selinux: saner handling of policy reloadsAl Viro1-78/+66
2023-10-18selinux: convert to new timestamp accessorsJeff Layton1-1/+1
2023-08-30Merge tag 'selinux-pr-20230829' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-13/+15
2023-08-09selinux: avoid implicit conversions in selinuxfs codeChristian Göttsche1-7/+7
2023-08-03selinux: avoid implicit conversions in services codeChristian Göttsche1-3/+4
2023-07-24selinux: convert to ctime accessor functionsJeff Layton1-1/+1
2023-07-18selinux: avoid implicit conversions regarding enforcing statusChristian Göttsche1-3/+4
2023-05-08selinux: declare read-only data arrays constChristian Göttsche1-1/+1
2023-05-08selinux: adjust typos in commentsChristian Göttsche1-1/+1
2023-03-20selinux: remove the runtime disable functionalityPaul Moore1-37/+6
2023-03-20selinux: remove the 'checkreqprot' functionalityPaul Moore1-8/+5
2023-03-14selinux: stop passing selinux_state pointers and their offspringStephen Smalley1-130/+78
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-3/+3
2022-10-17selinux: increase the deprecation sleep for checkreqprot and runtime disablePaul Moore1-2/+2
2022-08-30selinux: use int arrays for boolean valuesChristian Göttsche1-5/+5
2022-08-30selinux: remove an unneeded variable in sel_make_class_dir_entries()ye xingchen1-4/+1
2022-04-14selinux: don't sleep when CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE is truePaul Moore1-0/+2
2022-04-04selinux: checkreqprot is deprecated, add some ssleep() discomfortPaul Moore1-2/+2
2022-04-04selinux: runtime disable is deprecated, add some ssleep() discomfortPaul Moore1-0/+2
2022-03-02selinux: shorten the policy capability enum namesPaul Moore1-1/+1
2022-01-25selinux: check return value of sel_make_avc_filesChristian Göttsche1-0/+2
2021-04-27Merge tag 'selinux-pr-20210426' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+6
2021-03-18selinuxfs: unify policy load error reportingOndrej Mosnacek1-6/+3
2021-03-18selinux: fix variable scope issue in live sidtab conversionOndrej Mosnacek1-5/+5
2021-03-18selinux: don't log MAC_POLICY_LOAD record on failed policy loadOndrej Mosnacek1-2/+1
2021-03-08selinux: measure state and policy capabilitiesLakshmi Ramasubramanian1-0/+6
2021-01-12selinux: mark some global variables __ro_after_initOndrej Mosnacek1-2/+2
2021-01-12selinux: make selinuxfs_mount staticOndrej Mosnacek1-1/+1
2020-09-15selinux: Add helper functions to get and set checkreqprotLakshmi Ramasubramanian1-2/+3
2020-08-31selinux: simplify away security_policydb_len()Ondrej Mosnacek1-6/+6
2020-08-27selinux: move policy mutex to selinux_state, use in lockdep checksStephen Smalley1-14/+12
2020-08-21selinux: Create new booleans and class dirs out of treeDaniel Burgener1-23/+90
2020-08-21selinux: Standardize string literal usage for selinuxfs directory namesDaniel Burgener1-4/+6
2020-08-21selinux: Refactor selinuxfs directory populating functionsDaniel Burgener1-20/+25
2020-08-21selinux: Create function for selinuxfs directory cleanupDaniel Burgener1-14/+25
2020-08-17selinux: move policy commit after updating selinuxfsStephen Smalley1-32/+37
2020-02-27selinux: remove unused initial SIDs and improve handlingStephen Smalley1-1/+5
2020-02-11selinux: convert cond_list to arrayOndrej Mosnacek1-2/+2
2020-02-10selinux: sel_avc_get_stat_idx should increase position indexVasily Averin1-0/+1
2020-02-10Documentation,selinux: deprecate setting checkreqprot to 1Stephen Smalley1-0/+8
2020-01-07selinux: deprecate disabling SELinux and runtimePaul Moore1-0/+7
2020-01-06selinuxfs: use scnprintf to get real length for inodeliuyang341-2/+2
2019-12-18selinux: clean up selinux_enabled/disabled/enforcing_bootStephen Smalley1-6/+5
2019-12-09selinux: sidtab reverse lookup hash tableJeff Vander Stoep1-0/+65
2019-10-01selinux: remove load size limitzhanglin1-4/+0
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-5/+15
2019-07-08Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2019-07-04vfs: Convert selinuxfs to use the new mount APIDavid Howells1-5/+15
2019-06-14LSM: switch to blocking policy update notifiersJanne Karhunen1-1/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372Thomas Gleixner1-3/+1
2019-01-08SELinux: Abstract use of inode security blobCasey Schaufler1-2/+2
2018-08-15Merge tag 'selinux-pr-20180814' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-14/+31
2018-08-07selinux: cleanup dentry and inodes on error in selinuxfsnixiaoming1-8/+25
2018-07-17selinux: constify write_op[]Eric Biggers1-1/+1
2018-06-30Merge tag 'selinux-pr-20180629' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-45/+33
2018-06-28selinux: move user accesses in selinuxfs out of locked regionsJann Horn1-45/+33
2018-06-19selinux: Cleanup printk logging in selinuxfspeter enderborg1-5/+5
2018-06-06Merge tag 'audit-pr-20180605' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+3
2018-05-14audit: use inline function to get audit contextRichard Guy Briggs1-3/+3
2018-04-17audit: normalize MAC_POLICY_LOAD recordRichard Guy Briggs1-1/+1
2018-04-17audit: normalize MAC_STATUS recordRichard Guy Briggs1-4/+10
2018-04-16security: selinux: Change return type to vm_fault_tSouptick Joarder1-1/+1
2018-04-09selinux: fix missing dput() before selinuxfs unmountStephen Smalley1-0/+1
2018-03-20selinux: wrap AVC stateStephen Smalley1-19/+41
2018-03-20selinux: wrap selinuxfs stateStephen Smalley1-177/+261
2018-03-02selinux: rename the {is,set}_enforcing() functionsPaul Moore1-3/+3
2018-03-01selinux: wrap global selinux stateStephen Smalley1-63/+82
2017-07-05Merge branch 'work.memdup_user' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-7/+5
2017-05-25sel_write_validatetrans(): don't open-code memdup_user_nul()Al Viro1-7/+5
2017-05-23selinux lsm IB/core: Implement LSM notification systemDaniel Jurgens1-0/+2
2017-05-23selinux: log policy capability state when a policy is loadedStephen Smalley1-11/+2
2017-05-09Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2017-04-26fs: constify tree_descr arrays passed to simple_fill_super()Eric Biggers1-2/+2
2017-03-29selinuxfs: Use seq_puts() in sel_avc_stats_seq_show()Markus Elfring1-4/+4
2017-03-02selinux: wrap cgroup seclabel support with its own policy capabilityStephen Smalley1-1/+2
2017-02-24mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmfDave Jiang1-3/+2
2017-01-09selinux: default to security isid in sel_make_bools() if no sid is foundGary Tierney1-3/+3
2017-01-09selinux: log errors when loading new policyGary Tierney1-5/+16
2017-01-09selinux: clean up cred usage and simplifyStephen Smalley1-34/+39
2017-01-09selinux: support distinctions among all network address familiesStephen Smalley1-1/+1
2016-11-20selinux: normalize input to /sys/fs/selinux/enforceStephen Smalley1-0/+2
2016-11-14selinux: Minor cleanupsAndreas Gruenbacher1-2/+2
2016-09-27fs: Replace CURRENT_TIME with current_time() for inode timestampsDeepa Dinamani1-1/+1
2016-06-15selinux: fix type mismatchHeinrich Schuchardt1-1/+1
2016-01-22wrappers for ->i_mutex accessAl Viro1-2/+2
2016-01-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-0/+80
2016-01-04selinuxfs: switch to memdup_user_nul()Al Viro1-73/+41
2015-12-24selinux: export validatetrans decisionsAndrew Perepechko1-0/+80
2015-10-21selinux: introduce security_context_str_to_sidRasmus Villemoes1-17/+9
2015-09-10mm: mark most vm_operations_struct constKirill A. Shutemov1-1/+1
2015-07-01sysfs: Create mountpoints with sysfs_create_mount_pointEric W. Biederman1-6/+5
2015-04-15VFS: security/: d_inode() annotationsDavid Howells1-1/+1
2015-03-27Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/selinux into...James Morris1-1/+1
2015-03-25selinux: fix sel_write_enforce broken return valueJoe Perches1-1/+1
2015-01-25selinuxfs: don't open-code d_genocide()Al Viro1-49/+3
2014-11-03move d_rcu from overlapping d_child to overlapping d_aliasAl Viro1-3/+3
2014-04-03Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-1/+1
2014-03-10selinux: add gfp argument to security_xfrm_policy_alloc and fix callersNikolay Aleksandrov1-10/+18
2014-02-06security: replace strict_strto*() with kstrto*()Jingoo Han1-1/+1
2013-07-25Add SELinux policy capability for always checking packet and peer classes.Chris PeBenito1-1/+3
2013-02-22new helper: file_inode(file)Al Viro1-12/+8
2012-10-09mm: kill vma flag VM_RESERVED and mm->reserved_vm counterKonstantin Khlebnikov1-1/+1
2012-09-21userns: Convert selinux to use kuid and kgid where appropriateEric W. Biederman1-3/+3
2012-07-23switch dentry_open() to struct path, make it grab references itselfAl Viro1-3/+3
2012-05-29selinuxfs snprintf() misusesAl Viro1-29/+7
2012-04-09SELinux: if sel_make_bools errors don't leave inconsistent stateEric Paris1-0/+1
2012-04-09SELinux: remove needless sel_div functionEric Paris1-6/+1
2012-04-09SELinux: loosen DAC perms on reading policyEric Paris1-1/+1
2012-04-09SELinux: allow seek operations on the file exposing policyEric Paris1-0/+1
2012-03-31selinuxfs: merge dentry allocation into sel_make_dir()Al Viro1-66/+44
2011-11-16selinuxfs: remove custom hex_to_bin()Andy Shevchenko1-10/+4
2011-09-09selinux: sparse fix: fix warnings in netlink codeJames Morris1-2/+0
2011-09-09selinux: sparse fix: eliminate warnings for selinuxfsJames Morris1-1/+1
2011-09-09selinux: sparse fix: declare selinux_disable() in security.hJames Morris1-1/+0
2011-08-01doc: Update the email address for Paul Moore in various source filesPaul Moore1-1/+1
2011-07-24VFS : mount lock scalability for internal mountsTim Chen1-0/+1
2011-06-15Merge branch 'for-linus' of git://git.infradead.org/users/eparis/selinux into...James Morris1-1/+36
2011-05-26selinux: fix case of names with whitespace/multibytes on /selinux/createKohei Kaigai1-1/+36
2011-05-24Merge branch 'master' of git://git.infradead.org/users/eparis/selinux into fo...James Morris1-3/+25
2011-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-4/+4
2011-05-19selinux: avoid unnecessary avc cache stat hit countLinus Torvalds1-3/+7
2011-05-11SELINUX: add /sys/fs/selinux mount point to put selinuxfsGreg Kroah-Hartman1-1/+11
2011-04-10treewide: remove extra semicolonsJustin P. Mattock1-4/+4
2011-04-01selinux: add type_transition with name extension support for selinuxfsKohei Kaigai1-2/+14
2011-01-10Merge branch 'master' of git://git.infradead.org/users/eparis/selinux into nextJames Morris1-338/+311
2011-01-07fs: dcache rationalise dget variantsNick Piggin1-1/+1
2011-01-07fs: dcache remove dcache_lockNick Piggin1-4/+0
2011-01-07fs: dcache scale subdirsNick Piggin1-2/+10
2010-11-30SELinux: do not set automatic i_ino in selinuxfsEric Paris1-1/+0
2010-11-30SELinux: standardize return code handling in selinuxfs.cEric Paris1-337/+311
2010-10-29convert get_sb_single() usersAl Viro1-5/+4
2010-10-25fs: do not assign default i_ino in new_inodeChristoph Hellwig1-0/+1
2010-10-21selinux: implement mmap on /selinux/policyEric Paris1-0/+44
2010-10-21SELinux: allow userspace to read policy back out of the kernelEric Paris1-0/+95
2010-10-21selinux: fast status update interface (/selinux/status)KaiGai Kohei1-0/+56
2010-08-02selinux: use generic_file_llseekArnd Bergmann1-0/+16
2010-04-09Security: Fix coding style in security/wzt.wzt@gmail.com1-22/+22
2010-02-09selinux: fix memory leak in sel_make_boolsXiaotian Feng1-0/+2
2010-02-04selinux: allow MLS->non-MLS and vice versa upon policy reloadGuido Trentalancia1-1/+2
2010-01-18selinux: change the handling of unknown classesStephen Smalley1-5/+2
2009-10-07selinux: dynamic class/perm discoveryStephen Smalley1-2/+2
2009-05-19selinux: remove obsolete read buffer limit from sel_read_boolStephen Smalley1-4/+0
2009-04-02Permissive domain in userspace object managerKaiGai Kohei1-2/+2
2009-03-28selinux: Remove the "compat_net" compatibility codePaul Moore1-68/+0
2009-02-14SELinux: remove unused av.decided fieldEric Paris1-1/+1
2009-01-07Merge branch 'next' into for-linusJames Morris1-8/+8
2009-01-05zero i_uid/i_gid on inode allocationAl Viro1-2/+0
2009-01-01cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.: coreRusty Russell1-1/+1
2008-12-31selinux: Deprecate and schedule the removal of the the compat_net functionalityPaul Moore1-8/+8
2008-11-14CRED: Use RCU to access another task's creds and to release a task's own credsDavid Howells1-4/+9
2008-11-14CRED: Separate task security context from task_structDavid Howells1-1/+1
2008-07-14SELinux: more user friendly unknown handling printkEric Paris1-5/+0
2008-07-14SELinux: keep the code clean formating and syntaxEric Paris1-3/+7
2008-04-21Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-62/+65
2008-04-21SELinux: cleanup on isle selinuxfs.cEric Paris1-55/+57
2008-04-21SELinux: clean up printksEric Paris1-7/+8
2008-04-18security: Remove unnecessary inclusions of asm/semaphore.hMatthew Wilcox1-1/+0
2008-04-18security: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-4/+4
2008-04-18SELinux: create new open permissionEric Paris1-1/+2
2008-02-01[AUDIT] add session id to audit messagesEric Paris1-7/+10
2008-02-01[PATCH] switch audit_get_loginuid() to task_struct *Al Viro1-3/+3
2008-01-30SELinux: Add a capabilities bitmap to SELinux policy version 22Paul Moore1-4/+85
2008-01-25security/selinux: constify function pointer tables and fieldsJan Engelhardt1-1/+1
2007-12-06SELinux: detect dead booleansStephen Smalley1-13/+30
2007-12-06SELinux: do not clear f_op when removing entriesStephen Smalley1-27/+1
2007-10-17SELinux: policy selectable handling of unknown classes and permsEric Paris1-0/+26
2007-07-11selinux: add selinuxfs structure for object class discoveryChristopher J. PeBenito1-0/+249
2007-07-11selinux: change sel_make_dir() to specify inode counter.Christopher J. PeBenito1-5/+6
2007-07-11selinux: rename sel_remove_bools() for more general usage.Christopher J. PeBenito1-5/+4
2007-04-26selinux: change numbering of boolean directory inodes in selinuxfsJames Carter1-6/+5
2007-04-26selinux: remove unused enumeration constant from selinuxfsJames Carter1-1/+0
2007-04-26selinux: explicitly number all selinuxfs inodesJames Carter1-0/+6
2007-04-26selinux: export initial SID contexts via selinuxfsJames Carter1-0/+67
2007-02-12[PATCH] mark struct file_operations const 9Arjan van de Ven1-13/+13
2006-12-08[PATCH] struct path: convert selinuxJosef Sipek1-4/+4
2006-10-01[PATCH] r/o bind mount prepwork: inc_nlink() helperDave Hansen1-2/+2
2006-09-27[PATCH] inode-diet: Eliminate i_blksize from the inode structureTheodore Ts'o1-1/+0
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-06-23[PATCH] VFS: Permit filesystem to override root dentry on mountDavid Howells1-3/+4
2006-06-17[SECMARK]: Add new packet controls to SELinuxJames Morris1-0/+66
2006-03-25Merge branch 'audit.b3' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-0/+11
2006-03-22[PATCH] SELinux: fix hard link count for selinuxfs root directoryJames Morris1-5/+9
2006-03-22[PATCH] selinuxfs cleanups: sel_make_avc_filesJames Morris1-5/+2
2006-03-22[PATCH] selinuxfs cleanups: sel_make_boolsJames Morris1-4/+1
2006-03-22[PATCH] selinuxfs cleanups: sel_fill_super exit pathJames Morris1-17/+24
2006-03-22[PATCH] selinuxfs cleanups: use sel_make_dir()James Morris1-8/+4
2006-03-22[PATCH] selinuxfs cleanups: fix hard link countJames Morris1-0/+4
2006-03-22[PATCH] selinux: simplify sel_read_boolStephen Smalley1-19/+1
2006-03-22[PATCH] sem2mutex: security/Ingo Molnar1-9/+10
2006-03-20[PATCH] SE Linux audit eventsSteve Grubb1-0/+11
2006-01-08[PATCH] shrink dentry structEric Dumazet1-1/+1
2006-01-06[PATCH] selinux: ARRAY_SIZE cleanupsNicolas Kaiser1-2/+2
2005-11-09[PATCH] selinux: extend selinuxfs context interfaceStephen Smalley1-26/+19
2005-10-30[PATCH] reduce sizeof(struct file)Eric Dumazet1-1/+1
2005-10-30[PATCH] SELinux: remove unecessary size_t checks in selinuxfsDavi Arnaut1-9/+9
2005-10-30[PATCH] SELinux: convert to kzallocJames Morris1-20/+10