summaryrefslogtreecommitdiff
path: root/privs.h
blob: 9f9cfdd0626dee927ca26138809eec7a8daf7a38 (plain)
1
2
3
4
5
6
7
8
#ifndef PRIVS_H
#define PRIVS_H

#include <stdbool.h>

extern void drop_privileges(bool enforce, uid_t uid, gid_t gid);

#endif /* PRIVS_H */
lue='1'>ignoremode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:40:09 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:40:09 -0800
commit585457fc8383e373ab923e46cd1f70bbfe46763f (patch)
treef4e38133fb9b90543150a904cc1f6cc6b5657c7b
parentbb6c01c2dde67b165cf7c808b0f00677b6f94b96 (diff)
parent0db1dba5dfaf70fb3baf07973996db2078528cde (diff)
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio/vhost fixes from Michael Tsirkin: "Random fixes and cleanups that accumulated over the time" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: virtio/s390: virtio: constify virtio_config_ops structures virtio/s390: add missing \n to end of dev_err message virtio/s390: support READ_STATUS command for virtio-ccw tools/virtio/ringtest: tweaks for s390 tools/virtio/ringtest: fix run-on-all.sh for offline cpus virtio_console: fix a crash in config_work_handler vhost/scsi: silence uninitialized variable warning vhost: scsi: constify target_core_fabric_ops structures
Diffstat