mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 10:16:41 +00:00
Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
13 lines
366 B
C
13 lines
366 B
C
#ifndef __CR_SECURITY_H__
|
|
#define __CR_SECURITY_H__
|
|
|
|
#include "proc_parse.h"
|
|
#include "protobuf/creds.pb-c.h"
|
|
|
|
extern int restrict_uid(unsigned int uid, unsigned int gid);
|
|
extern bool may_dump(struct proc_status_creds *);
|
|
extern bool may_restore(struct _CredsEntry *);
|
|
extern bool cr_user_is_root(void);
|
|
extern int cr_fchown(int fd);
|
|
|
|
#endif /* __CR_SECURITY_H__ */
|