%% fileadv.tex
%%
-%% Copyright (C) 2000-2023 Simone Piccardi. Permission is granted to
+%% Copyright (C) 2000-2024 Simone Piccardi. Permission is granted to
%% copy, distribute and/or modify this document under the terms of the GNU Free
%% Documentation License, Version 1.1 or any later version published by the
%% Free Software Foundation; with the Invariant Sections being "Un preambolo",
% TODO il supporto è stato reso opzionale nel 4.5, verrà eliminato nel futuro
% (vedi http://lwn.net/Articles/667210/)
+% è stato eliminato nel 5.15
\itindend{file~locking}
% http://lwn.net/Articles/343346/ (incluso nel 2.6.36)
% fanotify_mark() ha FAN_MARK_FILESYSTEM dal 4.20
% fanotify() ha FAN_OPEN_EXEC dal 4.21/5.0
+% fanotify() ha FAN_REPORT_PIDFD dal 5.14
% fanotify() ha FAN_FS_ERROR dal 5.16, vedi
% https://docs.kernel.org/admin-guide/filesystem-monitoring.html
% fanotify() ha FAN_RENAME dal 5.17, vedi https://kernelnewbies.org/Linux_5.17
% https://lwn.net/Articles/733256/).
% TODO aggiunte MADV_COLD e MADV_PAGEOUT dal kernel 5.4, vedi
% https://git.kernel.org/linus/9c276cc65a58 e
-% https://git.kernel.org/linus/1a4e58cce84e
+% https://git.kernel.org/linus/1a4e58cce84e
+% TODO: aggiunte MADV_POPULATE_READ e MADV_POPULATE_WRITE (vedi
+% https://lwn.net/Articles/861695/)
\footnotetext{a partire dal kernel 2.6.32 è stato introdotto un meccanismo che
identifica pagine di memoria identiche e le accorpa in una unica pagina
% TODO: trattare i file seal, vedi fcntl / F_ADD_SEAL e memfd_create
+% TODO: con il kernel 5.14 è stata introdotta la syscall memfd_secret, vedi
+% https://lwn.net/Articles/835342/ https://lwn.net/Articles/812325/
+% https://lwn.net/Articles/865256/
+% https://lwn.net/ml/linux-mm/20210729082900.1581359-1-rppt@kernel.org/ e
+% https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1507f51255c9
+
% TODO trattare qui ioctl_ficlonerange ?
% TODO trattare qui close_range, vedi https://lwn.net/Articles/789023/