Add __attribute__((__noreturn__)) to various function prototypes in usr.sbin/.This general cleanup is useful in various ways. It helps the compileroptimize better and it also helps later GCCs dete
Add __attribute__((__noreturn__)) to various function prototypes in usr.sbin/.This general cleanup is useful in various ways. It helps the compileroptimize better and it also helps later GCCs detect better when to give-Wimplicit-fallthrough warnings and when not.Found-with: -Wsuggest-attribute=noreturn
show more ...
ftp-proxy(8): exit_daemon() never returns, do do not pretend it does.
Rename getline with get_line to avoid collision with getline(3).Just as it was recently done over at FreeBSD.While there, perform some style changes too (could not resist that).Only readline() ->
Rename getline with get_line to avoid collision with getline(3).Just as it was recently done over at FreeBSD.While there, perform some style changes too (could not resist that).Only readline() -> read_line() functional change was intended.
kernel - Revert "Fix buildworld."* Fix PF in a different way, by conditionalizing the inclusion of struct pf_state instead of conditionalizing all the use cases for pfvar.h.* This reverts com
kernel - Revert "Fix buildworld."* Fix PF in a different way, by conditionalizing the inclusion of struct pf_state instead of conditionalizing all the use cases for pfvar.h.* This reverts commit 56e2aaa4d1de560d06f713866ab834747982f839.* Reorders pfvar.h a bit and conditionalizes struct pf_state { }.
Fix buildworld.Due to adding a struct lock to struct pf_state in one of the recentpf(4) commits, we have to define _KERNEL_STRUCTURES in everythingwhich includes pfvar.h.
Add __printflike's where possible and fix all related bugs & issues.
ftp-proxy.8 & pflogd.8: Fix some mdoc issues.
pf: Update to OpenBSD 4.2 All sorts of informations is now stored directly in the mbuf header instead of a seperate mbuf tag. This brings in a 100% performance increase in comparison to OpenBSD
pf: Update to OpenBSD 4.2 All sorts of informations is now stored directly in the mbuf header instead of a seperate mbuf tag. This brings in a 100% performance increase in comparison to OpenBSD 4.1. For DragonFly this basically means this is the same performance as in 2.6, but we are equal again with OpenBSD's pf data structures. Necesary additions: sys/net: add more interface groups related functions if_creategroup() if_addgroup() if_delgroup() if_getgroup() if_getgroupmembers() Imported from OpenBSD carp: add carp_group_demote_adj() altq: re-add check of packet tagging fairq & red support, UDP nat'ing, reassembly fixed by Matthew Dillon
ftp-proxy - Port from libevent to kqueue(2)/kevent(2)* Was using libevent's bufferevent* API, we let the socket buffers do most of the work.
Some cleanup in the pf manual pages.
ftp-proxy(8): Remove leftover .depend.
ftp-proxy: Update to OpenBSD 4.1 ftp-proxy has been moved from libexec/ to usr.sbin/