From: Yu Watanabe Date: Fri, 28 Feb 2025 18:50:46 +0000 (+0900) Subject: missing_namespace: drop unnecessary entries X-Git-Tag: v258-rc1~1195^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b4ea2e7249d1c3d2c54adeec86c86379a3cded6c;p=thirdparty%2Fsystemd.git missing_namespace: drop unnecessary entries Our kernel baseline is 5.4. --- diff --git a/src/basic/missing_namespace.h b/src/basic/missing_namespace.h index 1c7285151e9..b659a8edc33 100644 --- a/src/basic/missing_namespace.h +++ b/src/basic/missing_namespace.h @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once +#include #include /* Root namespace inode numbers, as per include/linux/proc_ns.h in the kernel source tree, since v3.8: @@ -12,16 +13,3 @@ #define PROC_PID_INIT_INO ((ino_t) UINT32_C(0xEFFFFFFC)) #define PROC_CGROUP_INIT_INO ((ino_t) UINT32_C(0xEFFFFFFB)) #define PROC_TIME_INIT_INO ((ino_t) UINT32_C(0xEFFFFFFA)) - -/* linux/nsfs.h */ -#ifndef NS_GET_USERNS /* 6786741dbf99e44fb0c0ed85a37582b8a26f1c3b (4.9) */ -#define NS_GET_USERNS _IO(0xb7, 0x1) -#endif - -#ifndef NS_GET_NSTYPE /* e5ff5ce6e20ee22511398bb31fb912466cf82a36 (4.11) */ -#define NS_GET_NSTYPE _IO(0xb7, 0x3) -#endif - -#ifndef NS_GET_OWNER_UID /* d95fa3c76a66b6d76b1e109ea505c55e66360f3c (4.11) */ -#define NS_GET_OWNER_UID _IO(0xb7, 0x4) -#endif