summaryrefslogtreecommitdiffstats
path: root/lib/privs.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* *: auto-convert to SPDX License IDsDavid Lamparter2023-02-091-16/+1
* lib: fix capability double resource allocationRafael Zalamena2022-12-121-12/+27
* *: frr_with_mutex change to follow our standardDonald Sharp2022-07-201-2/+2
* lib: Allow downgrade of all caps when none are specifiedDonald Sharp2022-06-291-8/+7
* lib: add SYS_RAWIO to the capabilities definitionsAnuradha Karuppiah2022-06-271-0/+4
* *: Fix spelling of neccessaryDonald Sharp2022-04-191-1/+1
* lib: Add ZCAP_IPC_LOCKDonald Sharp2021-05-121-0/+4
* *: require semicolon after DEFINE_MTYPE & coDavid Lamparter2021-03-171-1/+1
* lib: have a lib_privs for ... lib privsDavid Lamparter2021-02-121-0/+6
* *: Remove solaris from FRRDonald Sharp2020-09-211-289/+8
* lib: explicitly cast -1 to uid_tQuentin Young2020-09-021-3/+3
* *: un-split strings across linesDavid Lamparter2020-07-141-2/+1
* lib: don't try to change/reset capabilities if process has noneMark Stapp2020-06-111-1/+3
* lib: add frr_with_mutex() block-wrapperDavid Lamparter2019-09-031-6/+3
* Merge pull request #3045 from opensourcerouting/atomsLou Berger2019-04-301-1/+1
|\
| * lib: ZEBRA_NUM_OF -> array_sizeDavid Lamparter2019-04-181-1/+1
* | libs: control privs changes with refcountMark Stapp2019-04-221-9/+79
|/
* libs: fix race in privs changesMark Stapp2019-03-171-20/+21
* libs: make privilege escalation thread-safeMark Stapp2019-03-051-0/+19
* lib: fix garbage array size in zprivs_initQuentin Young2019-02-151-1/+1
* lib: fix uninitialized value use in privs.cQuentin Young2019-02-141-1/+1
* *: LIB_[ERR|WARN] -> EC_LIBQuentin Young2018-09-131-1/+1
* lib: Convert privs.c to use new error-code subsystemDonald Sharp2018-09-061-1/+3
* lib: add frr_elevate_privs() wrapperDavid Lamparter2018-08-141-0/+35
* lib: Fix privs when using HAVE_CAPABILITIESDonald Sharp2018-06-211-0/+13
* lib: terminate capabilities only if initializedDavid Lamparter2017-08-211-1/+3
* lib: privs: make uid/gid accessible before setuidDavid Lamparter2017-08-021-4/+13
* Revert "*: reindent pt. 2"David Lamparter2017-07-221-120/+102
* *: reindent pt. 2whitespace / reindent2017-07-171-102/+120
* *: reindentreindent-master-afterwhitespace / reindent2017-07-171-696/+713
* Merge remote-tracking branch 'origin/stable/3.0'Donald Sharp2017-05-241-2/+2
|\
| * lib: fix array sizes for capability mapQuentin Young2017-05-221-2/+2
* | *: make consistent & update GPLv2 file headersDavid Lamparter2017-05-151-4/+3
* | Merge pull request #315 from LabNConsulting/working/master/patch/bgp-startupDonald Sharp2017-04-181-0/+1
|\ \ | |/ |/|
| * lib/frr: fix reference to zsuid before it is setLou Berger2017-04-021-0/+1
* | lib: fix usage of getgrouplist() in *BSDMike Tancsa2017-04-011-1/+1
|/
* lib: Don't change uid/gid if we are already the correct uid/gidMartin Winter2017-01-251-7/+14
* lib: privs: always look up VTY groupDavid Lamparter2016-11-091-23/+28
* ldpd: adapt the code for QuaggaRenato Westphal2016-09-231-6/+3
* *: split & distribute memtypes and stop (re|ab)using lib/ MTYPEsDavid Lamparter2016-09-191-0/+3
* lib: fix memory leak in zprivs_caps_initLou Berger2016-09-031-0/+7
* lib: Fix priviledge modification for vty group specifiedDonald Sharp2016-04-091-1/+11
* lib: add getgrouplist() for SolarisDavid Lamparter2016-04-091-0/+35
* privs: fix privilege dropping to use system defined groupsTimo Teräs2016-04-091-19/+47
* lib/privs: Don't use CAP_NET_BROADCASTChristian Franke2016-04-091-2/+1
* lib/privs: display more info if cap_set_proc fails.Christian Franke2016-04-091-1/+15
* lib: Fix POSIX capabilities on SunOS platformsBrian Bennett2016-04-091-27/+49
* *: nuke ^L (page feed)David Lamparter2014-06-041-5/+5
* [privs/Solaris] Quagga should work in zones with IP instancesPaul Jakma2007-09-181-0/+5
* [lib/privs] Changing user IDs should be done before dropping privilegesPaul Jakma2006-03-301-18/+20