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 */
stat only
authorIlia Mirkin <imirkin@alum.mit.edu>2016-07-27 19:16:39 -0400
committerBen Skeggs <bskeggs@redhat.com>2016-07-30 18:21:51 +1000
commitd0e62ef6ed257715a88d0e5d7cd850a1695429e2 (patch)
tree7efe885751c1770ecf41c8c733210fdec1e9bfb9
parent692a17dcc2922a91c6bcf11b3321503a3377b1b1 (diff)
drm/nouveau/gr/nv3x: fix instobj write offsets in gr setup
This should fix some unaligned access warnings. This is also likely to fix non-descript issues on nv30/nv34 as a result of incorrect channel setup. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96836 Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: stable@vger.kernel.org Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat