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 */
orm method='get'>
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-08-17 16:02:32 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2016-09-09 19:34:32 -0400
commit2561d309dfd1555e781484af757ed0115035ddb3 (patch)
tree6d96d75a4e35e2280edc0e47af670a31b0da4660 /Documentation/i2c/fault-codes
parent694d0d0bb2030d2e36df73e2d23d5770511dbc8d (diff)
alpha: fix copy_from_user()
it should clear the destination even when access_ok() fails. Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/i2c/fault-codes')