1 #ifndef SAFE_IS_PATH_TRUSTED_H_
2 #define SAFE_IS_PATH_TRUSTED_H_
24 #include <sys/types.h>
26 struct safe_id_range_list;
28 #ifndef SAFE_IS_PATH_TRUSTED_RETRY_MAX
29 #define SAFE_IS_PATH_TRUSTED_RETRY_MAX 50
37 SAFE_PATH_TRUSTED_STICKY_DIR,
39 SAFE_PATH_TRUSTED_CONFIDENTIAL
42 int safe_is_path_trusted(
44 struct safe_id_range_list *trusted_uids,
45 struct safe_id_range_list *trusted_gids
47 int safe_is_path_trusted_fork(
49 struct safe_id_range_list *trusted_uids,
50 struct safe_id_range_list *trusted_gids
52 int safe_is_path_trusted_r(
54 struct safe_id_range_list *trusted_uids,
55 struct safe_id_range_list *trusted_gids