mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
headers: Drop _LINUX_CAPABILITY
Use one provided in linux/capability.h Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
ec91abf0a8
commit
ada7322a9c
@@ -15,10 +15,6 @@
|
|||||||
#define MAJOR(dev) ((dev)>>8)
|
#define MAJOR(dev) ((dev)>>8)
|
||||||
#define MINOR(dev) ((dev) & 0xff)
|
#define MINOR(dev) ((dev) & 0xff)
|
||||||
|
|
||||||
#define _LINUX_CAPABILITY_VERSION_3 0x20080522
|
|
||||||
#define _LINUX_CAPABILITY_U32S_3 2
|
|
||||||
|
|
||||||
|
|
||||||
typedef void rt_signalfn_t(int, siginfo_t *, void *);
|
typedef void rt_signalfn_t(int, siginfo_t *, void *);
|
||||||
typedef rt_signalfn_t *rt_sighandler_t;
|
typedef rt_signalfn_t *rt_sighandler_t;
|
||||||
|
|
||||||
|
@@ -16,9 +16,6 @@
|
|||||||
#define MAJOR(dev) ((dev)>>8)
|
#define MAJOR(dev) ((dev)>>8)
|
||||||
#define MINOR(dev) ((dev) & 0xff)
|
#define MINOR(dev) ((dev) & 0xff)
|
||||||
|
|
||||||
#define _LINUX_CAPABILITY_VERSION_3 0x20080522
|
|
||||||
#define _LINUX_CAPABILITY_U32S_3 2
|
|
||||||
|
|
||||||
typedef void rt_signalfn_t(int, siginfo_t *, void *);
|
typedef void rt_signalfn_t(int, siginfo_t *, void *);
|
||||||
typedef rt_signalfn_t *rt_sighandler_t;
|
typedef rt_signalfn_t *rt_sighandler_t;
|
||||||
|
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <linux/securebits.h>
|
#include <linux/securebits.h>
|
||||||
|
#include <linux/capability.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
Reference in New Issue
Block a user