/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
.../amd64/sys/
..
Ovfork.S

Make two corrections to the vfork(2) stub: * with IBT, it can't return via an indirect jump as that would require the *caller* to have an endbr64 * to support a potential vmspace-sharing implementation, keep the retguard value in an arg register across the underlying syscall

3 года назад
brk.S

Add retguard to amd64 syscalls.

4 года назад
sbrk.S

Add retguard to amd64 syscalls.

4 года назад
sigpending.S

Add retguard to amd64 syscalls.

4 года назад
sigprocmask.S

Add retguard to amd64 syscalls.

4 года назад
sigsuspend.S

Add retguard to amd64 syscalls.

4 года назад
syscall.S

Retguard addition in commit 72pYktDvmJhq7OyF was based on the understanding that the removal of the off_t padding, amd64 syscalls no longer passed a 7th or later argument. We overlooked that syscall(2) bumps the arg count by one, so six argument calls like SYS_sysctl still pass an argument on the stack.

3 года назад
tfork_thread.S

Populate the non-LOAD openbsd.syscalls section (and PT_OPENBSD_SYSCALL) with {uint offset, uint syscall#} entries in libc & ld.so. In libc a few syscall# entries (break, sigprocmask, _tfork, _threxit) are duplicated because additional or inline uses occur (that situation is handled elsewhere) ok kettenis

3 года назад