#
5f31b145 |
| 18-May-2024 |
guenther <guenther@openbsd.org> |
Add pathconfat(2): pathconf(2) but with at-fd and flags arguments, the latter supporting the ability to get timestamp resolution of symlinks.
ok deraadt@ millert@
|
#
b5a37565 |
| 15-Apr-2024 |
florian <florian@openbsd.org> |
Add scandirat(3); from freebsd
To be used in httpd(8) shortly to prevent toctu issues.
This makes __fdopendir internally accessible to avoid unnecessary syscalls in scandirat(3). Suggested & diff b
Add scandirat(3); from freebsd
To be used in httpd(8) shortly to prevent toctu issues.
This makes __fdopendir internally accessible to avoid unnecessary syscalls in scandirat(3). Suggested & diff by guenther
suggested by & OK millert tweak & OK guenther OK tb, jca
This rides the libc crank.
show more ...
|
#
1aa88f2b |
| 01-Mar-2024 |
millert <millert@openbsd.org> |
Add mkdtemps(3), like mkdtemp(3) but with a suffix. OK deraadt@ tb@
|
#
cafeb892 |
| 12-Dec-2023 |
deraadt <deraadt@openbsd.org> |
remove support for syscall(2) -- the "indirection system call" because it is a dangerous alternative entry point for all system calls, and thus incompatible with the precision system call entry point
remove support for syscall(2) -- the "indirection system call" because it is a dangerous alternative entry point for all system calls, and thus incompatible with the precision system call entry point scheme we are heading towards. This has been a 3-year mission: First perl needed a code-generated wrapper to fake syscall(2) as a giant switch table, then all the ports were cleaned with relatively minor fixes, except for "go". "go" required two fixes -- 1) a framework issue with old library versions, and 2) like perl, a fake syscall(2) wrapper to handle ioctl(2) and sysctl(2) because "syscall(SYS_ioctl" occurs all over the place in the "go" ecosystem because the "go developers" are plan9-loving unix-hating folk who tried to build an ecosystem without allowing "ioctl". ok kettenis, jsing, afresh1, sthen
show more ...
|
#
29a332bc |
| 20-Aug-2023 |
visa <visa@openbsd.org> |
Add syscall stub for kqueue1(2)
This rides previous libc minor bump.
Feedback and OK guenther@
|
#
46c354aa |
| 20-Aug-2023 |
schwarze <schwarze@openbsd.org> |
Provide C11 <uchar.h>. OK millert@. Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port. I originally wrote the code in 2022 at the prodding of espie@. Using one improvement to a manu
Provide C11 <uchar.h>. OK millert@. Tested by naddy@ in a bulk and by matthieu@ in the new foot(1) port. I originally wrote the code in 2022 at the prodding of espie@. Using one improvement to a manual page from jmc@.
show more ...
|
#
60a50f65 |
| 11-Feb-2023 |
deraadt <deraadt@openbsd.org> |
__syscall() is no longer neccessary since the system calls which needed it are now unpadded ok kettenis guenther
|
#
cef5a146 |
| 07-Jan-2023 |
guenther <guenther@openbsd.org> |
Add {get,set}thrname(2) for putting thread names in the kernel and exposed in a new field returned by sysctl(KERN_PROC). Update pthread_{get,set}_name_np(3) to use the syscalls. Show them, when set
Add {get,set}thrname(2) for putting thread names in the kernel and exposed in a new field returned by sysctl(KERN_PROC). Update pthread_{get,set}_name_np(3) to use the syscalls. Show them, when set, in ps -H and top -H output.
libc and libpthread minor bumps
ok mpi@, mvs@, deraadt@
show more ...
|
#
2c53affb |
| 27-Dec-2022 |
jmc <jmc@openbsd.org> |
spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;
|
#
cf58d2cc |
| 26-Oct-2022 |
kettenis <kettenis@openbsd.org> |
Add waitid(2) syscall stub.
Minor bump to both libc and libpthread: make sure you install a new kernel!
ok millert@, deraadt@
|
#
f4d4d691 |
| 07-Oct-2022 |
deraadt <deraadt@openbsd.org> |
Add mimmutable(2) libc stub, add & adjust manual pages, and crank the minor. ok kettenis
|
#
4a324753 |
| 09-Sep-2022 |
mbuhl <mbuhl@openbsd.org> |
Add libc wrappers for the new sendmmsg and recvmmsg system calls. Feedback tb@, miod@, jca@ OK jca@
|
#
dca4ab8b |
| 02-Aug-2022 |
deraadt <deraadt@openbsd.org> |
delete incorrect comment: yp_unbind is not called by passwd
|
#
c0455c86 |
| 03-Jun-2021 |
deraadt <deraadt@openbsd.org> |
secure_path(3) hasn't been called since we recognized the TOCTOU issues a few years back, so we can remove it. Since nothing in the ecosystem calls it, I am not cranking the libc major as required,
secure_path(3) hasn't been called since we recognized the TOCTOU issues a few years back, so we can remove it. Since nothing in the ecosystem calls it, I am not cranking the libc major as required, surely another crank will come along soon. noticed by Dante Catalfamo ok millert
show more ...
|
#
af4d66b3 |
| 24-Oct-2019 |
otto <otto@openbsd.org> |
Allow the caller of asr functions to create and use a specific context. Diff from eric@ and florian@, commiting on their behalf since they are absent and we want to ride the minor shlib bump.
|
#
1b177f11 |
| 28-May-2019 |
deraadt <deraadt@openbsd.org> |
_thread_sys___realpath must be exported like _thread_sys___getcwd obviously. None will all it, but this is the mechanism by which ramdisk build determines which .o files to build for it's libraries.
|
#
e03a3151 |
| 10-May-2019 |
otto <otto@openbsd.org> |
Inroduce malloc_conceal() and calloc_conceal(). Similar to their counterparts but return memory in pages marked MAP_CONCEAL and on free() freezero() is actually called.
|
#
13e54a3c |
| 12-Jan-2019 |
jca <jca@openbsd.org> |
Move sigwait(3) from libpthread to libc
POSIX wants it in libc, that's where the function can be found on other systems. Reported by naddy@, input from naddy@ and guenther@. "looks ok" guenther@, o
Move sigwait(3) from libpthread to libc
POSIX wants it in libc, that's where the function can be found on other systems. Reported by naddy@, input from naddy@ and guenther@. "looks ok" guenther@, ok deraadt@
Note: riding the libc/libpthread major cranks earlier today.
show more ...
|
#
54e4f6b9 |
| 11-Jan-2019 |
deraadt <deraadt@openbsd.org> |
mincore() is a relic from the past, exposing physical machine information about shared resources which no program should see. only a few pieces of software use it, generally poorly thought out. the
mincore() is a relic from the past, exposing physical machine information about shared resources which no program should see. only a few pieces of software use it, generally poorly thought out. they are being fixed, so mincore() can be deleted. ok guenther tedu jca sthen, others
show more ...
|
#
acb3f83f |
| 21-Nov-2018 |
otto <otto@openbsd.org> |
Introducing malloc_usable_size() was a mistake. While some other libs have it, it is a function that is considered harmful, so:
Delete malloc_usable_size(). It is a function that blurs the line betw
Introducing malloc_usable_size() was a mistake. While some other libs have it, it is a function that is considered harmful, so:
Delete malloc_usable_size(). It is a function that blurs the line between malloc managed memory and application managed memory and exposes some of the internal workings of malloc. If an application relies on that, it is likely to break using another implementation of malloc. If you want usable size x, just allocate x bytes. ok deraadt@ and other devs
show more ...
|
#
f5c5425b |
| 18-Nov-2018 |
otto <otto@openbsd.org> |
Implement malloc_usable_size(); ok millert@ deraadt@ and jmc@ for the man page
|
#
7a9442eb |
| 05-Nov-2018 |
otto <otto@openbsd.org> |
Implement C11's aligned_alloc(3). ok guenther@
|
#
6151004e |
| 30-Oct-2018 |
guenther <guenther@openbsd.org> |
Add C11's timespec_get(3); minor bump for libc.
Tweaked diff from brad@ manpage tweaks florian@ and jmc@ ok deraadt@ millert@
|
#
5a122e6e |
| 13-Sep-2018 |
millert <millert@openbsd.org> |
Add uid_from_user() and gid_from_group(), derived from pax's cache.c. It replaces the existing pwcache.c functions user_from_uid(3) and group_from_gid(3) with the pax equivalents. Adapted from NetBS
Add uid_from_user() and gid_from_group(), derived from pax's cache.c. It replaces the existing pwcache.c functions user_from_uid(3) and group_from_gid(3) with the pax equivalents. Adapted from NetBSD (mycroft) changes from our own pax's cache.c. OK guenther@
show more ...
|
#
8b23add8 |
| 13-Jul-2018 |
beck <beck@openbsd.org> |
Unveiling unveil(2). This brings unveil into the tree, disabled by default - Currently this will return EPERM on all attempts to use it until we are fully certain it is ready for people to start usin
Unveiling unveil(2). This brings unveil into the tree, disabled by default - Currently this will return EPERM on all attempts to use it until we are fully certain it is ready for people to start using, but this now allows for others to do more tweaking and experimentation.
Still needs to send the unveil's across forks and execs before fully enabling.
Many thanks to robert@ and deraadt@ for extensive testing. ok deraadt@
show more ...
|