musl1.1: backport MS_NOSYMFOLLOW
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From a7456524d7bc95db76998804c8dc4bcfbeccab22 Mon Sep 17 00:00:00 2001
|
||||
From: Szabolcs Nagy <nsz@port70.net>
|
||||
Date: Sat, 19 Dec 2020 20:56:23 +0000
|
||||
Subject: [PATCH] sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
|
||||
|
||||
path resolution does not follow symlinks on nosymfollow mounts (but
|
||||
readlink still does), see
|
||||
|
||||
linux commit dab741e0e02bd3c4f5e2e97be74b39df2523fc6e
|
||||
Add a "nosymfollow" mount option.
|
||||
---
|
||||
include/sys/mount.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/include/sys/mount.h b/include/sys/mount.h
|
||||
index 57a89c09..09bd6e9d 100644
|
||||
--- a/include/sys/mount.h
|
||||
+++ b/include/sys/mount.h
|
||||
@@ -31,6 +31,7 @@ extern "C" {
|
||||
#define MS_REMOUNT 32
|
||||
#define MS_MANDLOCK 64
|
||||
#define MS_DIRSYNC 128
|
||||
+#define MS_NOSYMFOLLOW 256
|
||||
#define MS_NOATIME 1024
|
||||
#define MS_NODIRATIME 2048
|
||||
#define MS_BIND 4096
|
||||
--
|
||||
2.55.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Template file for 'musl1.1'
|
||||
pkgname=musl1.1
|
||||
version=1.1.24
|
||||
revision=9
|
||||
revision=10
|
||||
archs="*-musl"
|
||||
bootstrap=yes
|
||||
build_style=gnu-configure
|
||||
|
||||
Reference in New Issue
Block a user