Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <19f1a89e34d.632f17401216551.5581996530330636351@soss.website>
Date: Tue, 30 Jun 2026 16:57:52 -0500
From: Skye Soss <skye@...s.website>
To: "musl" <musl@...ts.openwall.com>
Subject: Re: [PATCH] add execveat syscall wrapper

 > > 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 

glibc provides both fcntl.h and linux/fcntl.h, and I believe this is only included from the latter. I tried compiling a program that only included <fcntl.h> and the macro was not defined.


 > > <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. 
 >
 > put it there then.

I'll add it right after the loff_t definition

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.