| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
in switchd(8).
OK henning@ bluhm@
|
|
|
|
|
|
|
| |
sockets cause no harm and this way we close another attack surface by not
allowing the daemon to create/delete any more files.
OK akoshibe@ florian@
|
| |
|
|
|
|
| |
steal code.
|
|
|
|
|
|
|
|
| |
This replaces log_verbose() and "extern int verbose" with the two functions
log_setverbose() and log_getverbose().
Pointed out by benno@
OK krw@ eric@ gilles@ (OK gilles@ for the snmpd bits as well)
|
|
|
|
|
|
| |
basically imports the imsg_flush() fix from reyk@ in httpd(8).
ok reyk@
|
|
|
|
|
|
|
|
|
| |
New changes:
* Fix msgbuf_write() usage idiom;
* Add context (function name) that fatal()ed;
* Use less fds on startup;
ok mlarkin@, reyk@
|
|
|
|
|
|
| |
and remove the CLOEXEC with fcntl() if necessary.
ok reyk@
|
|
|
|
|
| |
From deraadt@
OK rzalamena@
|
|
|
|
| |
OK rzalamena@
|
|
|
|
|
|
| |
uintptr_t. It is safe here to pass a 'const' to exec*().
improved by and ok millert@
|
|
|
|
|
|
|
|
| |
it was always a copy of ps->ps_env.
You might access the env variable now with: p->p_ps->ps_env.
ok reyk@
|
|
|
|
|
|
|
|
| |
Note: this daemon has the -Wcast-qual compilation flag which trigger a
warning that wasn't enable in httpd(8) or relayd(8). This will be fixed
in a next diff and then synchronized with other daemons.
ok reyk@
|
|
switchd consists of two parts:
1. switchd(8) and switchctl(8), an OpenFlow controller or "vswitch".
2. switch(4), an OpenFlow-aware kernel "bridge".
This the 1st part, the driver will be imported later. The code will
remain disabled for a while, but it helps development to have it in
the tree. switchd currently supports partial OpenFlow 1.0, but the
goal is to use OpenFlow 1.3.5 instead (switch(4) already does 1.3.5).
For more background information see:
http://www.openbsd.org/papers/bsdcan2016-switchd.pdf
https://youtu.be/Cuo0qT-lqig
With help from yasuoka@ goda@
Import discussed with deraadt@
|