aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/policydb.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-04selinux: clarify return code in filename_trans_read_helper_compat()Ondrej Mosnacek1-0/+1
2024-03-27selinux: dump statistics for more hash tablesChristian Göttsche1-7/+16
2024-02-23selinux: fix style issues in security/selinux/ss/policydb.cPaul Moore1-192/+213
2023-11-21selinux: introduce an initial SID for early boot processesOndrej Mosnacek1-0/+27
2023-11-16selinux: update filenametr_hash() to use full_name_hash()Paul Moore1-9/+2
2023-09-13selinux: improve role transition hashingChristian Göttsche1-1/+1
2023-09-13selinux: print sum of chain lengths^2 for hash tablesChristian Göttsche1-2/+2
2023-08-30Merge tag 'selinux-pr-20230829' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-46/+52
2023-08-18selinux: set next pointer before attaching to listChristian Göttsche1-1/+1
2023-08-09selinux: avoid implicit conversions in policydb codeChristian Göttsche1-32/+37
2023-08-09selinux: revert SECINITSID_INIT supportPaul Moore1-27/+0
2023-08-08selinux: use GFP_KERNEL while reading binary policyChristian Göttsche1-5/+5
2023-07-28selinux: move debug functions into debug configurationChristian Göttsche1-2/+3
2023-07-20selinux: introduce SECURITY_SELINUX_DEBUG configurationChristian Göttsche1-4/+4
2023-07-19selinux: update my email addressStephen Smalley1-1/+1
2023-07-19selinux: add missing newlines in pr_err() statementsChristian Göttsche1-3/+3
2023-07-10selinux: introduce an initial SID for early boot processesOndrej Mosnacek1-0/+27
2023-05-23selinux: deprecated fs oconChristian Göttsche1-0/+4
2023-05-08selinux: declare read-only data arrays constChristian Göttsche1-1/+1
2022-05-03selinux: declare data arrays constChristian Göttsche1-17/+15
2022-05-03selinux: resolve checkpatch errorsChristian Göttsche1-8/+4
2022-01-26selinux: drop unused macroChristian Göttsche1-2/+0
2022-01-26selinux: declare name parameter of hash_eval constChristian Göttsche1-1/+1
2021-08-02selinux: correct the return value when loads initial sidsXiu Jianfeng1-6/+4
2021-05-10selinux: Remove redundant assignment to rcJiapeng Chong1-1/+0
2020-07-09selinux: prepare for inlining of hashtab functionsOndrej Mosnacek1-22/+54
2020-07-08selinux: specialize symtab insert and search functionsOndrej Mosnacek1-26/+26
2020-06-23selinux: log error messages on required process class / permissionsStephen Smalley1-5/+15
2020-06-02Merge tag 'selinux-pr-20200601' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-136/+315
2020-05-01selinux: do not allocate hashtabs dynamicallyOndrej Mosnacek1-67/+60
2020-05-01selinux: fix return value on error in policydb_read()Ondrej Mosnacek1-0/+1
2020-05-01selinux: simplify range_write()Ondrej Mosnacek1-16/+2
2020-05-01selinux: fix error return code in policydb_read()Wei Yongjun1-0/+1
2020-04-22selinux: don't produce incorrect filename_trans_countOndrej Mosnacek1-8/+3
2020-04-17selinux: implement new format of filename transitionsOndrej Mosnacek1-25/+187
2020-04-17selinux: move context hashing under sidtabOndrej Mosnacek1-2/+0
2020-04-17selinux: hash context structure directlyOndrej Mosnacek1-5/+2
2020-04-17selinux: store role transitions in a hash tableOndrej Mosnacek1-46/+92
2020-04-15selinux: free str on error in str_read()Ondrej Mosnacek1-4/+4
2020-03-30selinux: clean up indentation issue with assignment statementColin Ian King1-4/+3
2020-03-05selinux: avtab_init() and cond_policydb_init() return voidPaul Moore1-9/+2
2020-03-05selinux: clean up error path in policydb_init()Ondrej Mosnacek1-13/+5
2020-02-27selinux: remove unused initial SIDs and improve handlingStephen Smalley1-13/+12
2020-02-27selinux: reduce the use of hard-coded hash sizesOndrej Mosnacek1-33/+20
2020-02-22selinux: optimize storage of filename transitionsOndrej Mosnacek1-71/+95
2020-02-13selinux: factor out loop body from filename_trans_read()Ondrej Mosnacek1-59/+63
2020-02-11selinux: convert cond_list to arrayOndrej Mosnacek1-1/+1
2020-01-16selinux: fix wrong buffer types in policydb.cOndrej Mosnacek1-2/+2
2019-12-09selinux: sidtab reverse lookup hash tableJeff Vander Stoep1-0/+5
2019-10-07selinux: default_range glblub implementationJoshua Brindle1-0/+5
2019-09-23Merge tag 'selinux-pr-20190917' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-200/+202
2019-08-05selinux: policydb - rename type_val_to_struct_arrayOndrej Mosnacek1-7/+7
2019-08-05selinux: policydb - fix some checkpatch.pl warningsOndrej Mosnacek1-4/+8
2019-08-05selinux: shuffle around policydb.c to get rid of forward declarationsPaul Moore1-189/+187
2019-08-02Merge tag 'selinux-pr-20190801' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+5
2019-07-31selinux: fix memory leak in policydb_init()Ondrej Mosnacek1-1/+5
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372Thomas Gleixner1-3/+1
2019-03-18selinux: fix NULL dereference in policydb_destroy()Ondrej Mosnacek1-4/+9
2019-03-12selinux: convert to kvmallocKent Overstreet1-92/+30
2019-01-10selinux: fix GPF on invalid policyStephen Smalley1-1/+2
2018-12-05selinux: use separate table for initial SID lookupOndrej Mosnacek1-1/+9
2018-11-05selinux: policydb - fix byte order and alignment issuesOndrej Mosnacek1-15/+36
2018-09-13selinux: Add __GFP_NOWARN to allocation at str_read()Tetsuo Handa1-1/+1
2018-06-19selinux: Cleanup printk logging in policydbpeter enderborg1-45/+46
2017-08-17selinux: update my email addressStephen Smalley1-1/+1
2017-05-23selinux: Create policydb version for Infiniband supportDaniel Jurgens1-15/+97
2017-05-23selinux: Return directly after a failed memory allocation in policydb_index()Markus Elfring1-10/+5
2017-03-31selinux: Fix an uninitialized variable bugDan Carpenter1-1/+1
2017-03-29selinux: Return directly after a failed kzalloc() in roles_init()Markus Elfring1-2/+1
2017-03-29selinux: Return directly after a failed kzalloc() in perm_read()Markus Elfring1-2/+1
2017-03-29selinux: Return directly after a failed kzalloc() in common_read()Markus Elfring1-2/+1
2017-03-29selinux: Return directly after a failed kzalloc() in class_read()Markus Elfring1-2/+1
2017-03-29selinux: Return directly after a failed kzalloc() in role_read()Markus Elfring1-2/+1
2017-03-29selinux: Return directly after a failed kzalloc() in type_read()Markus Elfring1-2/+1
2017-03-29selinux: Return directly after a failed kzalloc() in user_read()Markus Elfring1-2/+1
2017-03-29selinux: Improve another size determination in sens_read()Markus Elfring1-1/+1
2017-03-29selinux: Return directly after a failed kzalloc() in sens_read()Markus Elfring1-2/+1
2017-03-29selinux: Return directly after a failed kzalloc() in cat_read()Markus Elfring1-2/+1
2017-03-23selinux: Delete an unnecessary variable initialisation in range_read()Markus Elfring1-1/+1
2017-03-23selinux: Return directly after a failed next_entry() in range_read()Markus Elfring1-1/+1
2017-03-23selinux: Delete an unnecessary variable assignment in filename_trans_read()Markus Elfring1-1/+0
2017-03-23selinux: One function call less in genfs_read() after null pointer detectionMarkus Elfring1-2/+3
2017-03-23selinux: Return directly after a failed next_entry() in genfs_read()Markus Elfring1-1/+1
2017-03-23selinux: Delete an unnecessary return statement in policydb_destroy()Markus Elfring1-2/+0
2017-03-23selinux: Use kcalloc() in policydb_index()Markus Elfring1-9/+9
2017-02-27lib/vsprintf.c: remove %Z supportAlexey Dobriyan1-1/+1
2016-10-10Merge branch 'printk-cleanups'Linus Torvalds1-2/+2
2016-10-09printk: reinstate KERN_CONT for printing continuation linesLinus Torvalds1-2/+2
2016-09-13selinux: fix error return code in policydb_read()Wei Yongjun1-0/+1
2016-08-30selinux: fix overflow and 0 length allocationsWilliam Roberts1-0/+3
2016-08-29selinux: initialize structuresWilliam Roberts1-4/+4
2015-07-13selinux: extended permissions for ioctlsJeff Vander Stoep1-0/+5
2015-02-04SELinux: fix error code in policydb_init()Dan Carpenter1-2/+6
2014-06-18selinux: introduce str_read() helperNamhyung Kim1-96/+37
2014-06-17SELinux: use ARRAY_SIZEHimangi Saraogi1-4/+4
2014-02-20SELinux: bigendian problems with filename trans rulesEric Paris1-4/+4
2014-01-07SELinux: Fix memory leak upon loading policyTetsuo Handa1-1/+13
2013-11-19SELinux: Update policy version to support constraints infoRichard Haines1-9/+87
2013-09-18Merge git://git.infradead.org/users/eparis/selinuxPaul Moore1-2/+1
2013-07-25SELinux: fix selinuxfs policy file on big endian systemsEric Paris1-2/+1
2013-06-08SELinux: Add new labeling type native labelsDavid Quigley1-1/+4
2012-04-09SELinux: add default_type statementsEric Paris1-0/+19
2012-04-09SELinux: allow default source/target selectors for user/role/rangeEric Paris1-0/+25
2011-09-09selinux: sparse fix: fix several warnings in the security server codeJames Morris1-2/+0
2011-08-01doc: Update the email address for Paul Moore in various source filesPaul Moore1-1/+1
2011-06-14SELinux: skip file_name_trans_write() when policy downgraded.Roy.Li1-0/+3
2011-04-28flex_array: flex_array_prealloc takes a number of elements, not an endEric Paris1-3/+3
2011-04-28SELinux: put name based create rules in a hashtableEric Paris1-48/+119
2011-04-28SELinux: generic hashtab entry counterEric Paris1-2/+2
2011-04-28SELinux: calculate and print hashtab stats with a generic functionEric Paris1-19/+13
2011-04-28SELinux: skip filename trans rules if ttype does not match parent dirEric Paris1-0/+6
2011-04-20SELinux: delete debugging printks from filename_trans rule processingEric Paris1-4/+0
2011-04-07Initialize policydb.process_class eariler.Harry Ciao1-5/+5
2011-03-28SELinux: Write class field in role_trans_write.Harry Ciao1-2/+9
2011-03-28SELinux: Add class support to the role_trans structureHarry Ciao1-0/+14
2011-03-08Merge branch 'master' of git://git.infradead.org/users/eparis/selinux into nextJames Morris1-0/+130
2011-02-01SELinux: Use dentry name in new object labelingEric Paris1-0/+130
2011-01-24selinux: return -ENOMEM when memory allocation failsDavidlohr Bueso1-2/+2
2010-11-30SELinux: merge policydb_index_classes and policydb_index_othersEric Paris1-59/+10
2010-11-30selinux: convert part of the sym_val_to_name array to use flex_arrayEric Paris1-27/+82
2010-11-30selinux: convert type_val_to_struct to flex_arrayEric Paris1-7/+21
2010-11-30SELinux: standardize return code handling in policydb.cEric Paris1-287/+268
2010-10-21SELinux: allow userspace to read policy back out of the kernelEric Paris1-0/+841
2010-10-21SELinux: deterministic ordering of range transition rulesEric Paris1-3/+13
2010-10-21selinux: type_bounds_sanity_check has a meaningless variable declarationEric Paris1-2/+2
2010-08-02selinux: convert the policy type_attr_map to flex_arrayEric Paris1-10/+31
2010-08-02SELinux: break ocontext reading into a separate functionEric Paris1-111/+133
2010-08-02SELinux: move genfs read to a separate functionEric Paris1-105/+133
2010-08-02SELinux: seperate range transition rules to a seperate functionEric Paris1-64/+75
2010-05-17security/selinux/ss: Use kstrdupJulia Lawall1-2/+1
2010-04-09Security: Fix coding style in security/wzt.wzt@gmail.com1-2/+2
2010-03-09Merge branch 'next-queue' into nextJames Morris1-1/+1
2010-03-08selinux: const strings in tablesStephen Hemminger1-1/+1
2010-02-04selinux: allow MLS->non-MLS and vice versa upon policy reloadGuido Trentalancia1-20/+4
2010-01-25selinux: convert range transition list to a hashtabStephen Smalley1-27/+76
2009-10-07selinux: dynamic class/perm discoveryStephen Smalley1-2/+45
2008-08-29SELinux: add boundary support and thread context assignmentKaiGai Kohei1-14/+191
2008-08-05SELinux: Trivial minor fixes that change C null character styleVesa-Matti J Kari1-10/+10
2008-07-14selinux: fix endianness bug in network node address handlingStephen Smalley1-7/+8
2008-04-21changing whitespace for fun and profit: policydb.cEric Paris1-68/+63
2008-04-21SELinux: clean up printksEric Paris1-8/+9
2008-04-18selinux: introduce permissive typesEric Paris1-0/+11
2008-04-18SELinux: unify printk messagesJames Morris1-27/+27
2008-01-30SELinux: Add a capabilities bitmap to SELinux policy version 22Paul Moore1-1/+17
2007-11-08SELinux: add more validity checks on policy loadStephen Smalley1-1/+44
2007-10-17SELinux: policy selectable handling of unknown classes and permsEric Paris1-0/+4
2007-10-17SELinux: tune avtab to reduce memory usageYuichi Nakamura1-5/+2
2007-07-11selinux: introduce schedule points in policydb_destroy()Eric Paris1-0/+7
2007-02-26Reassign printk levels in selinux kernel codeEric Paris1-3/+3
2006-12-02Rename class_destroy to avoid namespace conflicts.James Morris1-3/+3
2006-10-11SELinux: Bug fix in polidydb_destroyChad Sellers1-0/+2
2006-09-26[PATCH] selinux: add support for range transitions on object classesDarrel Goeddel1-7/+20
2006-07-31[PATCH] selinux: fix memory leakDarrel Goeddel1-2/+10
2006-01-06[PATCH] selinux: more ARRAY_SIZE cleanupsTobias Klauser1-1/+1
2005-11-07[PATCH] kfree cleanup: securityJesper Juhl1-6/+6
2005-10-30[PATCH] SELinux: convert to kzallocJames Morris1-34/+17
2005-10-23[PATCH] selinux: Fix NULL deref in policydb_destroyStephen Smalley1-2/+4
2005-09-05[PATCH] selinux: endian notationsAlexey Dobriyan1-26/+34
2005-09-05[PATCH] selinux: Reduce memory use by avtabStephen Smalley1-1/+46
2005-06-25[PATCH] selinux: kfree cleanupJesper Juhl1-10/+5
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+1843