tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
lib
/
libc
/
at
rk3128
29 folders
4 files
arch
This file is completely superseded by the MI ../DEFS.h.
8 months ago
asr
Use __pledge_open(2) for files that libc urgently needs even in lower promise levels. You must be running a kernel at least 4 days old. Soon, another commit will happen that breaks compatibility even further, and you'll need new static binaries and new libc.so, along with a new kernel. This removes an old pledge design decision which is weak. Long discussions with david leadbeater and beck
1 month ago
citrus
Clean up CFLAGS to not pass the same -I option more than once. ok tb@
8 months ago
compat-43
Add PROTO_NORMAL() declarations for the remaining syscalls, to avoid future, inadvertant PLT entries. Move the __getcwd and __realpath declarations to hidden/{stdlib,unistd}.h to consolidate and remove duplication.
2 years ago
crypt
When describing v3 crypt, be specific as to which machine was simulated. feedback jmc@ ok deraadt@ schwarze@
1 year ago
db
Add an additional "int fd" argument to the low-level db __{hash,rec,bt}_open() functions to provide for the caller allocating the fd itself. ok guenther
1 month ago
dlfcn
Specify a priority for _libc_preinit() to make sure it runs before other constructors (such as the constructor for libcompiler_rt).
2 years ago
gdtoa
spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;
3 years ago
gen
use O_CLOEXEC; ok guenther
4 weeks ago
gmon
use O_CLOEXEC; ok guenther
4 weeks ago
hash
use O_CLOEXEC; ok guenther
4 weeks ago
hidden
Create stub for __pledge_open(2) system call. It is not being called yet.
1 month ago
include
Prepare for gcc 3 leaving the building, COMPILER_VERSION can no longer get set to "gcc3".
5 months ago
locale
Clean up CFLAGS to not pass the same -I option more than once. ok tb@
8 months ago
net
Use __pledge_open(2) for files that libc urgently needs even in lower promise levels. You must be running a kernel at least 4 days old. Soon, another commit will happen that breaks compatibility even further, and you'll need new static binaries and new libc.so, along with a new kernel. This removes an old pledge design decision which is weak. Long discussions with david leadbeater and beck
1 month ago
nls
ntohl() returns uint32_t so it cannot be < 0. Since we're storing the result in an int check for > INT_MAX instead. OK bluhm@
9 years ago
quad
Mark as 'protected' all the routines from the quad/ and softfloat/ subdirs, as well as those in arch/arm/gen/divsi3.S. This cleans up the PLTs on the 32bit archs.
6 years ago
regex
spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;
3 years ago
rpc
The mdoc(7) .Ft macro does not need quoting of its arguments, but about 10% of our manual pages using this macro employed useless quoting anyway. Remove these quotes such that they do not incite fear, uncertainty, and doubt in developers who happen to look at these pages. jmc@ and tb@ agree with the direction.
9 months ago
softfloat
Add EABI strong aliases for __fixunssfdi and __fixunsdfdi added recently on armv7; ok mbuhl@
3 years ago
stdio
While almost all the libc locks are taken and released in the same libc call, flockfile() and ftrylockfile() can be called when single-threaded and then--while 'holding' the lock--the process can create another thread, resulting in a broken state. Have the f{lock,trylock,unlock}file() APIs *always* do real locking so the exposed state is always consistent.
2 months ago
stdlib
Revert r1.286 now that all supported platforms have __builtin_clz.
5 months ago
string
tweak previous: "functions returns" -> "functions return" and add a missing Oxford comma
5 months ago
sys
pledge(2): access() and open() are no longer special for pledge
2 weeks ago
termios
remove outdated "expected to be compliant" ok miod@ kn@ deraadt@
3 years ago
thread
sys/time.h needed before sys/futex.h
6 months ago
time
Use __pledge_open(2) for files that libc urgently needs even in lower promise levels. You must be running a kernel at least 4 days old. Soon, another commit will happen that breaks compatibility even further, and you'll need new static binaries and new libc.so, along with a new kernel. This removes an old pledge design decision which is weak. Long discussions with david leadbeater and beck
1 month ago
uuid
fix uuid_dec_{b,l}e prototypes
2 years ago
yp
correct articles
5 months ago
Makefile
Clean up CFLAGS to not pass the same -I option more than once. ok tb@
8 months ago
Makefile.inc
Prepare for gcc 3 leaving the building, COMPILER_VERSION can no longer get set to "gcc3".
5 months ago
Symbols.list
Implement ffsl() and ffsll() using the compiler builtin __builtin_ctzl now that all archs use at least gcc4. ffsl() and ffsll() are now part of POSIX. OK deraadt@, input from miod@ and jsg@
5 months ago
shlib_version
bump libc and lib[rp]thread minors
4 months ago