]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/missing.h
missing: drop falloc related definitions
[thirdparty/systemd.git] / src / basic / missing.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
c2f1db8f 2#pragma once
b9f880f4
LP
3
4/* Missing glibc definitions to access certain kernel APIs */
5
3b794314 6#include <errno.h>
d5dd44b0 7#include <inttypes.h>
8ae4b6d1 8#include <sys/syscall.h>
dd6c17b1 9
0f3be6ca
LP
10#ifndef FS_NOCOW_FL
11#define FS_NOCOW_FL 0x00800000
12#endif
13
94d82985
LP
14#ifndef MS_MOVE
15#define MS_MOVE 8192
16#endif
17
7ef71470
ZJS
18#ifndef MS_REC
19#define MS_REC 16384
20#endif
21
7cb1094a 22#ifndef MS_PRIVATE
7ef71470 23#define MS_PRIVATE (1<<18)
7cb1094a
HH
24#endif
25
7ef71470
ZJS
26#ifndef MS_REC
27#define MS_REC (1<<19)
28#endif
29
30#ifndef MS_SHARED
31#define MS_SHARED (1<<20)
32#endif
33
34#ifndef MS_RELATIME
35#define MS_RELATIME (1<<21)
36#endif
37
38#ifndef MS_KERNMOUNT
39#define MS_KERNMOUNT (1<<22)
40#endif
41
42#ifndef MS_I_VERSION
43#define MS_I_VERSION (1<<23)
54ecda32
LP
44#endif
45
48ac500b 46#ifndef MS_STRICTATIME
7ef71470 47#define MS_STRICTATIME (1<<24)
48ac500b
LP
48#endif
49
7ef71470
ZJS
50#ifndef MS_LAZYTIME
51#define MS_LAZYTIME (1<<25)
a9621528
AM
52#endif
53
85210bff 54#ifndef CIFS_MAGIC_NUMBER
65b3903f 55# define CIFS_MAGIC_NUMBER 0xFF534D42
85210bff 56#endif
8742514c 57
ebd93cb6
LP
58#ifndef RENAME_NOREPLACE
59#define RENAME_NOREPLACE (1 << 0)
60#endif
f7ad54a3 61
80750adb
ZJS
62#ifndef EXT4_IOC_RESIZE_FS
63# define EXT4_IOC_RESIZE_FS _IOW('f', 16, __u64)
64#endif
65
d7bea6b6
DP
66#ifndef NS_GET_NSTYPE
67#define NS_GET_NSTYPE _IO(0xb7, 0x3)
68#endif
69
0e7117d0 70#include "missing_audit.h"
b9683baf 71#include "missing_btrfs_tree.h"
8ca2702f 72#include "missing_capability.h"
dea72eda 73#include "missing_fcntl.h"
31c2ddab 74#include "missing_input.h"
1e54f0ab 75#include "missing_magic.h"
c8a363eb 76#include "missing_mman.h"
9714c020 77#include "missing_network.h"
2a03bb3e 78#include "missing_prctl.h"
b19bb111 79#include "missing_random.h"
6c76de27 80#include "missing_resource.h"
22332e33 81#include "missing_sched.h"
66ffbdf9 82#include "missing_socket.h"
470f348b 83#include "missing_stdlib.h"
d7330b60 84#include "missing_timerfd.h"
38e0c63d 85#include "missing_type.h"
e01819f8 86
2f368e4a 87#include "missing_syscall.h"