OpenBSD cvs log

created 2021-01-23T22:09:21Z
begin 2021-01-18T00:00:00Z
end 2021-01-19T00:00:00Z
path src/sys
commits 8

date 2021-01-18T09:55:43Z
author mvs
files src/sys/net/if.c log diff annotate
src/sys/net/if.h log diff annotate
message Introduce new function if_unit(9). This function returns a pointer the
interface descriptor corresponding to the unique name. This descriptor
is guaranteed to be valid until if_put(9) is called on the returned
pointer. if_unit(9) should replace already existent ifunit() which
returns descriptor not safe for dereference when context was switched.
This allow us to avoid some use-after-free issues in ioctl(2) path.
Also this unifies interface descriptor usage.

ok claudio@ sashan@

date 2021-01-18T12:22:40Z
author sthen
files src/sys/netinet/in.h log diff annotate
message add IPPROTO_SCTP, ok claudio@

date 2021-01-18T18:25:51Z
author mvs
files src/sys/kern/syscalls.master log diff annotate
message Unlock getppid(2).

ok mpi@

date 2021-01-18T18:27:53Z
author mvs
files src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/syscalls.c log diff annotate
message regen

date 2021-01-18T18:29:19Z
author mvs
files src/sys/net/if_pfsync.c log diff annotate
src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message Convert ifunit() to if_unit(9).

ok sashan@

date 2021-01-18T18:43:52Z
author mvs
files src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message Revert wrong commit.

date 2021-01-18T18:44:30Z
author mvs
files src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message regen

date 2021-01-18T18:47:05Z
author mvs
files src/sys/sys/proc.h log diff annotate
message Mark `ps_oppid' as atomic.

ok mpi@