mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
14 lines
366 B
C
14 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__ */
|