Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260630213332.GZ3520958@port70.net>
Date: Tue, 30 Jun 2026 23:33:32 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: Skye Soss <skye@...s.website>
Cc: musl <musl@...ts.openwall.com>
Subject: Re: [PATCH] add execveat syscall wrapper

* Skye Soss <skye@...s.website> [2026-06-30 15:27:46 -0500]:
>  > > The execveat syscall was added to Linux in v4.0 (released in 2015), 
>  >  
>  > it's spelled AT_EXECVE_CHECK 
>  > you should add it from linux uapi to musl fcntl.h 
>  > (AT_ is reserved namespace so no need for _GNU_SOURCE) 
> 
> glibc does not export AT_EXECVE_CHECK from fcntl.h, so users must include

they do now

./sysdeps/unix/sysv/linux/bits/fcntl-linux.h:# define AT_EXECVE_CHECK 0x10000 /* Only perform a check if execution

> <linux/fcntl.h> even when using glibc. Otherwise, musl's fcntl.h currently
> guards some AT_ macros behind _GNU_SOURCE: most importantly AT_EMPTY_PATH,
> which is a required flag to pass alongside AT_EXECVE_CHECK.

ah my bad.

put it there then.

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.