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 */
ss='ctrl'>
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-09-05 10:06:13 +0200
committerSean Paul <seanpaul@chromium.org>2016-09-06 13:56:41 -0400
commit4e9951d960932d648197d691aa28a7bc0ced1b56 (patch)
tree07497d290dfdd2b63877c5b42349c039a2cde1c0
parent75ac49532a3cd44f2b22d88bab888ae92c411650 (diff)
drm/atomic: Reject properties not part of the object.
The legacy setprop ioctl doesn't attempt to set properties that are not enumerated on the object. The atomic ioctl does, fix this by validating first. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/1473062773-5045-1-git-send-email-maarten.lankhorst@linux.intel.com
Diffstat