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 */
'2'>stat only
authorSalah Triki <salah.triki@acm.org>2016-07-23 22:36:41 +1000
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 10:01:09 +0100
commitc625426fb61a64427f4e12b83a6710161fd9489b (patch)
tree1022ddf51b1a33f9dda51f189ea0627b377db68e
parentdceee2e230e07d25e50478dde3f0621a1381da53 (diff)
fs/befs/linuxvfs.c: remove useless pr_err in befs_fill_super()
Remove pr_err since when kzalloc fails there is a generic out of memory and stack dump. Link: http://lkml.kernel.org/r/c5a7f2d42ec0fc8465c118248e88cd221c483391.1464226521.git.salah.triki@acm.org Signed-off-by: Salah Triki <salah.triki@acm.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat
-rw-r--r--fs/befs/linuxvfs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c