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 */
>ignoremode:
authorXing Zheng <zhengxing@rock-chips.com>2016-05-26 21:49:08 +0800
committerHeiko Stuebner <heiko@sntech.de>2016-05-30 09:40:23 +0200
commit3183c0d519ff83af2926382c11716496f01d34bf (patch)
tree5e02cf416791e7541e1e804c62eebc8e5aa602de
parent4715f81afc342996f680b08c944a712d9cbef11b (diff)
clk: rockchip: fix cpuclk registration error handling
It maybe due to a copy-paste error the error handing should be cclk not clk when checking if the cpuclk registration succeeded. Reported-by: Lin Huang <lin.huang@rock-chips.com> Signed-off-by: Xing Zheng <zhengxing@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat