mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] [PATCH 0/2] sys/fanotify.h: add new FAN_* macros from linux v5.19
@ 2023-08-08 15:54 Michal Biesek
  2023-08-08 15:54 ` [musl] [PATCH 1/2] sys/fanotify.h: add FAN_MARK_EVICTABLE " Michal Biesek
  2023-08-08 15:54 ` [musl] [PATCH 2/2] sys/fanotify.h: add FAN_MARK_IGNORE from linux v6.0 Michal Biesek
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Biesek @ 2023-08-08 15:54 UTC (permalink / raw)
  To: musl; +Cc: Michal Biesek

 linux commit 7d5e005d982527e4029b0139823d179986e34cdc
 fanotify: implement "evictable" inode marks

 linux commit: e252f2ed1c8c6c3884ab5dd34e003ed21f1fe6e0
 fanotify: introduce FAN_MARK_IGNORE

Michal Biesek (2):
  sys/fanotify.h: add FAN_MARK_EVICTABLE from linux v5.19
  sys/fanotify.h: add FAN_MARK_IGNORE from linux v6.0

 include/sys/fanotify.h | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [musl] [PATCH 1/2] sys/fanotify.h: add FAN_MARK_EVICTABLE from linux v5.19
  2023-08-08 15:54 [musl] [PATCH 0/2] sys/fanotify.h: add new FAN_* macros from linux v5.19 Michal Biesek
@ 2023-08-08 15:54 ` Michal Biesek
  2023-08-08 15:54 ` [musl] [PATCH 2/2] sys/fanotify.h: add FAN_MARK_IGNORE from linux v6.0 Michal Biesek
  1 sibling, 0 replies; 3+ messages in thread
From: Michal Biesek @ 2023-08-08 15:54 UTC (permalink / raw)
  To: musl; +Cc: Michal Biesek

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [musl] [PATCH 2/2] sys/fanotify.h: add FAN_MARK_IGNORE from linux v6.0
  2023-08-08 15:54 [musl] [PATCH 0/2] sys/fanotify.h: add new FAN_* macros from linux v5.19 Michal Biesek
  2023-08-08 15:54 ` [musl] [PATCH 1/2] sys/fanotify.h: add FAN_MARK_EVICTABLE " Michal Biesek
@ 2023-08-08 15:54 ` Michal Biesek
  1 sibling, 0 replies; 3+ messages in thread
From: Michal Biesek @ 2023-08-08 15:54 UTC (permalink / raw)
  To: musl; +Cc: Michal Biesek

This flag has a similar effect as setting the
FAN_MARK_IGNORED_MASK flag.  The events in mask shall be
added to or removed from the ignore mask.  Unlike the
FAN_MARK_IGNORED_MASK flag, this flag also has the effect
that the FAN_ONDIR, and FAN_EVENT_ON_CHILD flags take
effect on the ignore mask.

see
  linux commit: e252f2ed1c8c6c3884ab5dd34e003ed21f1fe6e0
  fanotify: introduce FAN_MARK_IGNORE
---
 include/sys/fanotify.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/sys/fanotify.h b/include/sys/fanotify.h
index 975b8742..50ffd046 100644
--- a/include/sys/fanotify.h
+++ b/include/sys/fanotify.h
@@ -83,6 +83,7 @@ struct fanotify_response {
 #define FAN_MARK_IGNORED_SURV_MODIFY 0x40
 #define FAN_MARK_FLUSH 0x80
 #define FAN_MARK_EVICTABLE 0x00000200
+#define FAN_MARK_IGNORE 0x00000400
 #define FAN_MARK_INODE 0x00
 #define FAN_MARK_MOUNT 0x10
 #define FAN_MARK_FILESYSTEM 0x100
-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-08 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-08 15:54 [musl] [PATCH 0/2] sys/fanotify.h: add new FAN_* macros from linux v5.19 Michal Biesek
2023-08-08 15:54 ` [musl] [PATCH 1/2] sys/fanotify.h: add FAN_MARK_EVICTABLE " Michal Biesek
2023-08-08 15:54 ` [musl] [PATCH 2/2] sys/fanotify.h: add FAN_MARK_IGNORE from linux v6.0 Michal Biesek

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).