aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlabel
AgeCommit message (Expand)AuthorFilesLines
2024-02-28netlabel: remove impossible return value in netlbl_bitmap_walkZhengchao Shao1-1/+1
2024-02-07netlabel: cleanup struct netlbl_lsm_catmapGeorge Guo1-4/+4
2023-12-07calipso: fix memory leak in netlbl_calipso_add_pass()Gavrilov Ilia1-23/+26
2023-08-02netlabel: Remove unused declaration netlbl_cipsov4_doi_free()Yue Haibing1-3/+0
2023-06-20netlabel: Reorder fields in 'struct netlbl_domaddr6_map'Christophe JAILLET1-1/+1
2023-06-10netlabel: fix shift wrapping bug in netlbl_catmap_setlong()Dmitry Mastykin1-1/+2
2022-08-29genetlink: start to validate reserved header bytesJakub Kicinski4-0/+4
2022-08-10netlabel: fix typo in commentTopi Miettinen1-1/+1
2022-03-21netlabel: fix out-of-bounds memory accessesWang Yufen1-0/+2
2021-11-22lsm: security_task_getsecid_subj() -> security_current_getsecid_subj()Paul Moore2-2/+2
2021-08-30net: fix NULL pointer reference in cipso_v4_doi_free王贇1-2/+2
2021-08-05net: Remove redundant if statementsYajun Deng1-4/+2
2021-07-27net: cipso: fix warnings in netlbl_cipsov4_add_stdPavel Skripkin1-4/+4
2021-06-15netlabel: Fix memory leak in netlbl_mgmt_add_commonLiu Shixin1-9/+10
2021-06-07netlabel: Fix spelling mistakesZheng Yongjun2-2/+2
2021-05-19netlabel: remove unused parameter in netlbl_netlink_auditinfo()Zheng Yejian5-16/+14
2021-04-29Merge tag 'net-next-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-1/+1
2021-04-27Merge tag 'selinux-pr-20210426' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-2/+2
2021-03-28netlabel: Correct function name netlbl_mgmt_add() in the kerneldoc commentsXiongfeng Wang1-1/+1
2021-03-22lsm: separate security_task_getsecid() into subjective and objective variantsPaul Moore2-2/+2
2021-03-04cipso,calipso: resolve a number of problems with the DOI refcountsPaul Moore1-0/+3
2020-11-19Merge https://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2020-11-16treewide: rename nla_strlcpy to nla_strscpy.Francis Laniel1-1/+1
2020-11-14netlabel: fix an uninitialized warning in netlbl_unlabel_staticlist()Paul Moore1-1/+1
2020-11-12Merge https://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+12
2020-11-10netlabel: fix our progress tracking in netlbl_unlabel_staticlist()Paul Moore1-5/+12
2020-10-30net: netlabel: Fix kerneldoc warningsAndrew Lunn1-0/+1
2020-10-02genetlink: move to smaller ops wherever possibleJakub Kicinski4-12/+12
2020-09-08netlabel: Fix some kernel-doc warningsWang Hai1-2/+2
2020-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-29/+30
2020-08-28netlabel: remove unused param from audit_log_format()Alex Dewar1-3/+2
2020-08-24netlabel: fix problems with mapping removalPaul Moore1-29/+30
2020-07-13net: netlabel: kerneldoc fixesAndrew Lunn1-1/+1
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-1/+1
2020-05-12netlabel: cope with NULL catmapPaolo Abeni1-0/+6
2020-04-22netlabel: Kconfig: Update reference for NetLabel Tools projectSalvatore Bonaccorso1-1/+1
2020-02-18netlabel_domainhash.c: Use built-in RCU list checkingMadhuparna Bhowmik1-1/+2
2020-02-18net: netlabel: Use built-in RCU list checkingMadhuparna Bhowmik1-1/+2
2019-09-01netlabel: remove redundant assignment to pointer iterColin Ian King1-1/+1
2019-05-21treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13Thomas Gleixner15-225/+15
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-04-27genetlink: optionally validate strictly/dumpsJohannes Berg4-0/+24
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-16/+20
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek2-8/+14
2019-03-22genetlink: make policy common to familyJohannes Berg4-24/+4
2019-02-27netlabel: fix out-of-bounds memory accessesPaul Moore1-1/+2
2018-09-21netlabel: check for IPV4MASK in addrinfo_getSean Tranchetti1-1/+2
2018-06-19audit: eliminate audit_enabled magic number comparisonRichard Guy Briggs1-1/+1
2018-05-14audit: use inline function to get audit contextRichard Guy Briggs1-1/+1
2018-02-14netlabel: If PF_INET6, check sk_buff ip header versionRichard Haines1-0/+10
2017-11-18net/netlabel: Add list_next_rcu() in rcu_dereference().Tim Hansen1-2/+2
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-9/+10
2017-01-06netlabel: add CALIPSO to the list of built-in protocolsPaul Moore1-4/+1
2016-10-27genetlink: mark families as __ro_after_initJohannes Berg4-4/+4
2016-10-27genetlink: statically initialize familiesJohannes Berg4-33/+48
2016-10-27genetlink: no longer support using static family IDsJohannes Berg4-4/+0
2016-06-27netlabel: Implement CALIPSO config functions for SMACK.Huw Davies3-0/+212
2016-06-27calipso: Add a label cache.Huw Davies3-5/+60
2016-06-27netlabel: Pass a family parameter to netlbl_skbuff_err().Huw Davies1-3/+8
2016-06-27calipso: Allow the lsm to label the skbuff directly.Huw Davies3-4/+117
2016-06-27calipso: Allow request sockets to be relabelled by the lsm.Huw Davies3-7/+70
2016-06-27calipso: Set the calipso socket label to match the secattr.Huw Davies4-8/+120
2016-06-27netlabel: Move bitmap manipulation functions to the NetLabel core.Huw Davies1-0/+70
2016-06-27netlabel: Add support for removing a CALIPSO DOI.Huw Davies2-0/+101
2016-06-27netlabel: Add support for creating a CALIPSO protocol domain mapping.Huw Davies4-5/+89
2016-06-27netlabel: Add support for enumerating the CALIPSO DOI list.Huw Davies2-0/+120
2016-06-27netlabel: Add support for querying a CALIPSO DOI.Huw Davies2-0/+121
2016-06-27netlabel: Initial support for the CALIPSO netlink protocol.Huw Davies6-1/+322
2016-06-27netlabel: Add an address family to domain hash entries.Huw Davies6-58/+192
2016-06-27netlabel: Mark rcu pointers with __rcu.Huw Davies2-4/+4
2016-06-09netlabel: handle sparse category maps in netlbl_catmap_getlong()Paul Moore1-5/+4
2016-06-06netlabel: add address family checks to netlbl_{sock,req}_delattr()Paul Moore1-2/+10
2016-04-05netlabel: fix a problem with netlbl_secattr_catmap_setrng()Janak Desai1-1/+1
2016-03-07netlabel: do not initialise statics to NULLWei Tang1-2/+2
2016-03-07netlink: do not initialise statics to 0 or NULLWei Tang1-3/+3
2015-03-31netlink: implement nla_put_in_addr and nla_put_in6_addrJiri Benc2-28/+20
2015-02-11Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-5/+10
2015-02-11cipso: don't use IPCB() to locate the CIPSO IP optionPaul Moore1-5/+10
2015-02-03netlabel: Less function calls in netlbl_mgmt_add_common() after error detectionMarkus Elfring1-25/+24
2015-02-03netlabel: Deletion of an unnecessary check before the function call "cipso_v4...Markus Elfring1-2/+1
2015-02-03netlabel: Deletion of an unnecessary check before the function call "cipso_v4...Markus Elfring1-2/+1
2015-01-18netlink: make nlmsg_end() and genlmsg_end() voidJohannes Berg3-4/+8
2014-10-09netlabel: kernel-doc warning fixFabian Frederick1-1/+0
2014-10-08netlabel: directly return netlbl_unlabel_genl_init()Fabian Frederick1-5/+1
2014-08-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+0
2014-08-01netlabel: shorter names for the NetLabel catmap funcs/structsPaul Moore1-57/+52
2014-08-01netlabel: fix the catmap walking functionsPaul Moore1-48/+54
2014-08-01netlabel: fix the horribly broken catmap functionsPaul Moore1-50/+166
2014-08-01netlabel: fix a problem when setting bits below the previously lowest bitPaul Moore1-8/+18
2014-07-15netlabel: remove unnecessary break after gotoFabian Frederick1-1/+0
2013-12-06netlabel: Fix FSF address in file headersJeff Kirsher13-26/+13
2013-11-19genetlink: only pass array to genl_register_family_with_ops()Johannes Berg3-3/+3
2013-11-14genetlink: make all genl_ops users constJohannes Berg3-3/+3
2013-10-10inet: includes a sock_common in request_sockEric Dumazet1-1/+1
2013-08-02netlabel: use domain based selectors when address based selectors are not ava...Paul Moore6-158/+130
2013-05-28net: pass info struct via netdevice notifierJiri Pirko1-4/+3
2013-05-19netlabel: improve domain mapping validationPaul Moore1-0/+69
2013-03-08netlabel: fix build problems when CONFIG_IPV6=nPaul Moore1-10/+5
2013-03-07netlabel: correctly list all the static label mappingsPaul Moore1-6/+6
2012-10-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds3-4/+4
2012-09-17userns: Convert the audit loginuid to be a kuidEric W. Biederman2-2/+2
2012-09-10netlink: Rename pid to portid to avoid confusionEric W. Biederman3-4/+4
2012-03-22netlabel: use GFP flags from caller instead of GFP_ATOMICDan Carpenter1-1/+1
2012-01-12net: reintroduce missing rcu_assign_pointer() callsEric Dumazet2-6/+4
2011-12-11net: use IS_ENABLED(CONFIG_IPV6)Eric Dumazet7-41/+41
2011-12-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+14
2011-11-29netlabel: Fix build problems when IPv6 is not enabledPaul Moore1-8/+14
2011-11-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2011-11-25net/netlabel: copy and paste bug in netlbl_cfg_unlbl_map_add()Dan Carpenter1-2/+2
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan3-6/+6
2011-08-20Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+12
2011-08-11net/netlabel/netlabel_kapi.c: add missing cleanup codeJulia Lawall1-8/+12
2011-08-07Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller14-15/+13
2011-08-02rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTERStephen Hemminger2-6/+6
2011-08-01doc: Update the email address for Paul Moore in various source filesPaul Moore14-15/+13
2011-07-26atomic: use <linux/atomic.h>Arun Sharma5-5/+5
2011-07-25Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds2-4/+2
2011-07-08rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_checkMichal Hocko2-4/+2
2011-06-16net: Remove casts of void *Joe Perches1-6/+4
2011-05-22Remove prefetch() from <linux/skbuff.h> and "netlabel_addrlist.h"Linus Torvalds1-4/+4
2011-05-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6Linus Torvalds1-4/+0
2011-05-07net,rcu: convert call_rcu(netlbl_unlhsh_free_addr6) to kfree_rcu()Lai Jiangshan1-21/+1
2011-05-07net,rcu: convert call_rcu(netlbl_unlhsh_free_addr4) to kfree_rcu()Lai Jiangshan1-19/+1
2011-04-17netlabel: Fix set-but-unused variables.David S. Miller1-4/+0
2011-03-31Fix common misspellingsLucas De Marchi2-6/+6
2011-03-03netlink: kill loginuid/sessionid/sid members from struct netlink_skb_parmsPatrick McHardy1-3/+3
2010-12-19net: kill unused macrosShan Wei3-3/+0
2010-05-17net: Remove unnecessary returns from void function()sJoe Perches2-3/+0
2010-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds2-57/+37
2010-04-01netlabel: Fix several rcu_dereference() calls used without RCU read locksPaul Moore2-57/+37
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo6-0/+6
2010-02-17net: remove INIT_RCU_HEAD() usageAlexey Dobriyan2-4/+0
2009-12-09Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2009-12-04tree-wide: fix assorted typos all over the placeAndré Goddard Rosa1-1/+1
2009-11-20net: rename skb->iif to skb->skb_iifEric Dumazet1-1/+1
2009-11-05netlabel: remove dev_put() callsEric Dumazet1-4/+2
2009-07-30Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+1
2009-07-30net/netlabel: Add kmalloc NULL testsJulia Lawall1-1/+1
2009-07-27net/netlabel: Correct redundant testJulia Lawall1-4/+2
2009-05-21netlabel: Use genl_register_family_with_ops()Michał Mirosław3-42/+6
2009-04-22netlabel: Always remove the correct address selectorPaul Moore1-16/+10
2009-03-28netlabel: Cleanup the Smack/NetLabel code to fix incoming TCP connectionsPaul Moore1-0/+13
2009-03-28netlabel: Label incoming TCP connections correctly in SELinuxPaul Moore1-20/+132
2008-12-31netlabel: Update kernel configuration APIPaul Moore6-116/+404
2008-12-15Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-18/+20
2008-12-11netlabel: Compiler warning and NULL pointer dereference fixPaul Moore1-18/+20
2008-12-05Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-4/+6
2008-12-03netlabel: Fix a potential NULL pointer dereferencePaul Moore1-4/+6
2008-11-21net: remove redundant argument commentsQinghuang Feng1-1/+0
2008-10-31net: replace NIPQUAD() in net/*/Harvey Harrison1-1/+1
2008-10-31Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller3-1/+25
2008-10-30netlabel: Fix compilation warnings in net/netlabel/netlabel_addrlist.cManish Katiyar2-0/+24
2008-10-29netlabel: Fix compiler warnings in netlabel_mgmt.cPaul Moore1-1/+1
2008-10-29net: replace %p6 with %pI6Harvey Harrison1-1/+1
2008-10-28net, misc: replace uses of NIP6_FMT with %p6Harvey Harrison1-1/+1
2008-10-10netlabel: Add configuration support for local labelingPaul Moore3-2/+48
2008-10-10cipso: Add support for native local labeling and fixup mapping namesPaul Moore3-11/+11
2008-10-10selinux: Set socket NetLabel based on connection endpointPaul Moore1-1/+77
2008-10-10netlabel: Add functionality to set the security attributes of a packetPaul Moore1-0/+60
2008-10-10netlabel: Add network address selectors to the NetLabel/LSM domain mappingPaul Moore8-222/+811
2008-10-10netlabel: Add a generic way to create ordered linked lists of network addrsPaul Moore4-216/+569
2008-10-10netlabel: Replace protocol/NetLabel linking with refrerence countsPaul Moore5-118/+123
2008-10-10selinux: Fix missing calls to netlbl_skbuff_err()Paul Moore1-2/+3
2008-10-10netlabel: Remove unneeded in-kernel API functionsPaul Moore1-61/+23
2008-10-10netlabel: Fix some sparse warningsPaul Moore3-14/+14
2008-07-19netns: Use net_eq() to compare net-namespaces for optimization.YOSHIFUJI Hideaki1-1/+1
2008-07-18Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds...David S. Miller1-2/+1
2008-07-15Merge branch 'core/rcu' into core/rcu-for-linusIngo Molnar1-2/+1
2008-07-14netlabel: return msg overflow error from netlbl_cipsov4_list fasterDenis V. Lunev1-1/+1
2008-07-11Merge branch 'linus' into core/rcuIngo Molnar1-1/+1
2008-07-10netlabel: netlink_unicast calls kfree_skb on error path by itselfDenis V. Lunev3-21/+4
2008-06-27netlabel: Fix a problem when dumping the default IPv6 static labelsPaul Moore1-1/+1
2008-05-19rcu: split list.h and move rcu-protected lists into rculist.hFranck Bui-Huu1-2/+1
2008-04-28Audit: collect sessionid in netlink messagesEric Paris3-1/+5
2008-04-17[NETLABEL]: Fix NULL deref in netlbl_unlabel_staticlist_gen() if ifindex not ...Jesper Juhl1-0/+4
2008-03-26[NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS.YOSHIFUJI Hideaki1-1/+1
2008-02-17[NETLABEL]: Move some initialization code into __init section.Pavel Emelyanov5-7/+7
2008-02-17[NETLABEL]: Shrink the genl-ops registration code.Pavel Emelyanov3-144/+64
2008-02-12[NETLABLE]: Hide netlbl_unlabel_audit_addr6 under ifdef CONFIG_IPV6.Pavel Emelyanov1-0/+2
2008-02-12[NETLABEL]: Don't produce unused variables when IPv6 is off.Pavel Emelyanov1-10/+18
2008-02-12[NETLABEL]: Compilation for CONFIG_AUDIT=n case.Pavel Emelyanov1-2/+1
2008-02-12[NETLABEL]: Fix lookup logic of netlbl_domhsh_search_def.Pavel Emelyanov1-3/+3
2008-02-05NetLabel: introduce a new kernel configuration API for NetLabelPaul Moore4-1/+182
2008-01-30NetLabel: Add auditing to the static labeling mechanismPaul Moore1-14/+193
2008-01-30NetLabel: Introduce static network labels for unlabeled connectionsPaul Moore3-17/+1519
2008-01-30NetLabel: Add IP address family information to the netlbl_skbuff_getattr() fu...Paul Moore1-0/+2
2008-01-30NetLabel: Add secid token support to the NetLabel secattr structPaul Moore1-0/+1
2008-01-30NetLabel: Consolidate the LSM domain mapping/hashing locksPaul Moore1-21/+9
2008-01-30NetLabel: Cleanup the LSM domain hash functionsPaul Moore1-13/+34
2008-01-30NetLabel: Remove unneeded RCU read locksPaul Moore5-85/+15
2007-12-20[NETLABEL]: Spelling fixesJoe Perches1-1/+1
2007-10-26[NetLabel]: correct usage of RCU lockingPaul Moore3-33/+12
2007-10-10[NETLINK]: Introduce nested and byteorder flag to netlink attributeThomas Graf1-7/+7
2007-08-07[NetLabel]: add missing rcu_dereference() calls in the LSM domain mapping has...Paul Moore1-4/+6
2007-08-02Net/Security: fix memory leaks from security_secid_to_secctx()Paul Moore1-1/+3
2007-07-19SELinux: enable dynamic activation/deactivation of NetLabel/SELinux enforcementPaul Moore4-0/+96
2007-07-16Audit: add TTY input auditingMiloslav Trmac1-4/+0