* [RFC PATCH v1 0/1] Add F_SEAL_EXEC
@ 2023-08-22 15:29 Francis Laniel
2023-08-22 15:29 ` [RFC PATCH v1 1/1] Add F_SEAL_EXEC from Linux 5.3 to bits/fcntl-linux.h Francis Laniel
2023-08-22 15:29 ` [RFC PATCH v1 1/1] linux/bits: Add F_SEAL_EXEC from Linux 5.3 Francis Laniel
0 siblings, 2 replies; 4+ messages in thread
From: Francis Laniel @ 2023-08-22 15:29 UTC (permalink / raw)
To: libc-alpha; +Cc: Francis Laniel
Hi.
In this contribution, I added the F_SEAL_EXEC flag which was introduced in Linux
5.3 [1].
If you see any way to improve this contribution or if I missed something, please
share your feedback.
Francis Laniel (1):
Add F_SEAL_EXEC from Linux 5.3 to bits/fcntl-linux.h.
sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 1 +
1 file changed, 1 insertion(+)
Best regards and thank you in advance.
---
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6fd7353829ca
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RFC PATCH v1 1/1] Add F_SEAL_EXEC from Linux 5.3 to bits/fcntl-linux.h.
2023-08-22 15:29 [RFC PATCH v1 0/1] Add F_SEAL_EXEC Francis Laniel
@ 2023-08-22 15:29 ` Francis Laniel
2023-08-22 15:29 ` [RFC PATCH v1 1/1] linux/bits: Add F_SEAL_EXEC from Linux 5.3 Francis Laniel
1 sibling, 0 replies; 4+ messages in thread
From: Francis Laniel @ 2023-08-22 15:29 UTC (permalink / raw)
To: libc-alpha; +Cc: Francis Laniel
This patch adds the new F_SEAL_EXEC constant from Linux 5.3 to
bits/fcntl-linux.h [1].
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6fd7353829ca
---
sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
index 1babbdc84e..d1e8c9cee8 100644
--- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
+++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
@@ -286,6 +286,7 @@ struct f_owner_ex
# define F_SEAL_WRITE 0x0008 /* Prevent writes. */
# define F_SEAL_FUTURE_WRITE 0x0010 /* Prevent future writes while
mapped. */
+# define F_SEAL_EXEC 0x0020 /* Prevent modifying exec bits. */
#endif
#ifdef __USE_GNU
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RFC PATCH v1 1/1] linux/bits: Add F_SEAL_EXEC from Linux 5.3.
2023-08-22 15:29 [RFC PATCH v1 0/1] Add F_SEAL_EXEC Francis Laniel
2023-08-22 15:29 ` [RFC PATCH v1 1/1] Add F_SEAL_EXEC from Linux 5.3 to bits/fcntl-linux.h Francis Laniel
@ 2023-08-22 15:29 ` Francis Laniel
2023-08-22 18:49 ` Adhemerval Zanella Netto
1 sibling, 1 reply; 4+ messages in thread
From: Francis Laniel @ 2023-08-22 15:29 UTC (permalink / raw)
To: libc-alpha; +Cc: Francis Laniel
This patch adds the new F_SEAL_EXEC constant from Linux 5.3 to
bits/fcntl-linux.h [1].
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6fd7353829ca
---
sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
index 1babbdc84e..d1e8c9cee8 100644
--- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
+++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
@@ -286,6 +286,7 @@ struct f_owner_ex
# define F_SEAL_WRITE 0x0008 /* Prevent writes. */
# define F_SEAL_FUTURE_WRITE 0x0010 /* Prevent future writes while
mapped. */
+# define F_SEAL_EXEC 0x0020 /* Prevent modifying exec bits. */
#endif
#ifdef __USE_GNU
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC PATCH v1 1/1] linux/bits: Add F_SEAL_EXEC from Linux 5.3.
2023-08-22 15:29 ` [RFC PATCH v1 1/1] linux/bits: Add F_SEAL_EXEC from Linux 5.3 Francis Laniel
@ 2023-08-22 18:49 ` Adhemerval Zanella Netto
0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella Netto @ 2023-08-22 18:49 UTC (permalink / raw)
To: libc-alpha
On 22/08/23 12:29, Francis Laniel via Libc-alpha wrote:
> This patch adds the new F_SEAL_EXEC constant from Linux 5.3 to
> bits/fcntl-linux.h [1].
>
> Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
> [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6fd7353829ca
LGTM, although you have send two patches with same contents but with
different subjects.
> ---
> sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
> index 1babbdc84e..d1e8c9cee8 100644
> --- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
> +++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h
> @@ -286,6 +286,7 @@ struct f_owner_ex
> # define F_SEAL_WRITE 0x0008 /* Prevent writes. */
> # define F_SEAL_FUTURE_WRITE 0x0010 /* Prevent future writes while
> mapped. */
> +# define F_SEAL_EXEC 0x0020 /* Prevent modifying exec bits. */
> #endif
>
> #ifdef __USE_GNU
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-22 18:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-22 15:29 [RFC PATCH v1 0/1] Add F_SEAL_EXEC Francis Laniel
2023-08-22 15:29 ` [RFC PATCH v1 1/1] Add F_SEAL_EXEC from Linux 5.3 to bits/fcntl-linux.h Francis Laniel
2023-08-22 15:29 ` [RFC PATCH v1 1/1] linux/bits: Add F_SEAL_EXEC from Linux 5.3 Francis Laniel
2023-08-22 18:49 ` Adhemerval Zanella Netto
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 read-only IMAP folder(s) and NNTP newsgroup(s).