Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue,  8 Aug 2023 17:54:20 +0200
From: Michal Biesek <michalbiesek@...il.com>
To: musl@...ts.openwall.com
Cc: Michal Biesek <michalbiesek@...il.com>
Subject: [PATCH 1/2] sys/fanotify.h: add FAN_MARK_EVICTABLE from linux v5.19

Allows to mark an inode as evictable

see
  linux commit 7d5e005d982527e4029b0139823d179986e34cdc
  fanotify: implement "evictable" inode marks
---
 include/sys/fanotify.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/sys/fanotify.h b/include/sys/fanotify.h
index 10e5f15e..975b8742 100644
--- a/include/sys/fanotify.h
+++ b/include/sys/fanotify.h
@@ -82,6 +82,7 @@ struct fanotify_response {
 #define FAN_MARK_IGNORED_MASK 0x20
 #define FAN_MARK_IGNORED_SURV_MODIFY 0x40
 #define FAN_MARK_FLUSH 0x80
+#define FAN_MARK_EVICTABLE 0x00000200
 #define FAN_MARK_INODE 0x00
 #define FAN_MARK_MOUNT 0x10
 #define FAN_MARK_FILESYSTEM 0x100
-- 
2.34.1

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.