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 */
>space:mode:
authorJonathan Corbet <corbet@lwn.net>2016-07-17 19:24:02 -0600
committerJonathan Corbet <corbet@lwn.net>2016-07-17 19:24:02 -0600
commitfd7db68b9363a80d3c6f3b55e05ec56211ea6254 (patch)
treef800dea31f534f3e004b79a02dad29d43bb006d2 /.mailmap
parent547218864afb2745d9d137f005f3380ef96b26ab (diff)
docs: Get rid of some kernel-documentation warnings
Sphinx wants to interpret all literal blocks as being in the chosen language and complains when an attempt to parse a block fails. kernel-documentation.rst has a few blocks that are not in C; make that explicit to shut down the associated warnings. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to '.mailmap')