Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-23 | Cast isspace() argument to unsigned char. | mmcc | |
2015-10-23 | remove some more ifdef maziness | Ted Unangst | |
2015-10-23 | Fix renaming in the root directory by correctly setting directory | Kenneth R Westerback | |
offset. From Serguey Parkhomovsky via bugs@, in response to problem report from matthieu@. Same fix is in NetBSD for one. ok tedu@ | |||
2015-10-23 | Remove three strange and unused preproc defines. Submitted by Ilya | mmcc | |
Kaliman. ok nicm@ | |||
2015-10-23 | Fix printf() types so kernel compiles with or w/o MSDOSFS_DEBUG. | Kenneth R Westerback | |
e.g. print pointers with %p instead of %08x. No changes outside of MSDOSFS_DEBUG. | |||
2015-10-23 | From jmc@ "the exclusive open propery" does not make sense. Try with 'an'. | Claudio Jeker | |
2015-10-23 | Forgot to install the new tap.4 man page. | Claudio Jeker | |
2015-10-23 | Rather than re-opening the driftfile to write, keep it open; rewinding | Theo de Raadt | |
and coping with error conditions... that lets us avoid a pledge "wpath". Putting it all together, this lets the master ntpd pledge "stdio rpath inet settime proc id". It works like this: "rpath" to load the certificates, "proc" to create constraint processes, "id" to chroot and lock the constraint processes into a jail, then "inet" to open a https session. "settime" is used by the master to manage the system time when the ntp-speaking engine instructs the master. with help from naddy | |||
2015-10-23 | Remove some unnecessary checks before free(). | Nicholas Marriott | |
2015-10-23 | If $TMUX is set, and we are unsure about the session, use it. | Nicholas Marriott | |
2015-10-23 | If writing to a tty blocks, syslogd forked and tried to write again | Alexander Bluhm | |
in a background process. A potential fork(2) at every message is bad, so replace this with an event. As a bonus the syslogd child process does not need to pledge "proc" anymore. Also limit the number of delayed write events. OK deraadt@ | |||
2015-10-23 | tmux can call pledge() in main with large set and then reduce it | Nicholas Marriott | |
slightly in the server to "stdio rpath wpath cpath fattr unix recvfd proc exec tty ps". | |||
2015-10-23 | Format for scroll position, from Jorge Morante. | Nicholas Marriott | |
2015-10-23 | Allow SIOCGIFINFO_IN6 | Theo de Raadt | |
2015-10-23 | Use tty_term_flag not _has for XT, and make -2 force direct use of | Nicholas Marriott | |
256-colour escape sequences (so setaf/setab can be bypassed if needed). | |||
2015-10-23 | document -h flag and add a .Xr | Joerg Jung | |
ok sunil millert | |||
2015-10-23 | ndp -n -d <addr> does dns lookups, even with -n. it should not. | Sebastian Benoit | |
found through pledge. ok deraadt@ | |||
2015-10-23 | netstart bits for tap(4) | Claudio Jeker | |
2015-10-23 | Sync (MAKEDEV addition of tap) | Claudio Jeker | |
2015-10-23 | Adjust tun(4) and tap(4) after the split. | Claudio Jeker | |
Note: "pseudo-device tun" is used by both devices this is not a typo OK dlg@ mpi@ | |||
2015-10-23 | Sync (after tap addition) | Claudio Jeker | |
2015-10-23 | MAKEDEV bits for tap(4) | Claudio Jeker | |
OK dlg@ mpi@ | |||
2015-10-23 | Allocate a new major for tap(4) also note that pseudo-device tun is for tap | Claudio Jeker | |
as well. OK dlg@ mpi@ | |||
2015-10-23 | Split up tun(4) into tun(4) & tap(4). Killing the link0 magic to switch | Claudio Jeker | |
between modes. The two drivers still share most of the code but the mode switcher is gone. OK dlg@ mpi@ | |||
2015-10-23 | route has 3 code paths: monitor (listening on route socket); show | Theo de Raadt | |
(sysctl and then print), change (getsocket, then read/write on that). Refactor lightly and insert pledge "stdio rpath dns" in each case. ok claudio benno phessler | |||
2015-10-23 | Allowing upstream servers of ntp being in multiple routing tables is | Peter Hessler | |
non-sensical. The dns lookups happened in the process routing table (usually '0'), which is very likely to have different results from the other routing domains. If you do depend on having this behaviour, you'll need to use pf to cross the rtable boundary. "listen on * rtable X" is still supported. Users of "server * rtable X" will need to switch to launching ntpd with "route -T X exec /usr/sbin/ntpd" OK deraadt@ | |||
2015-10-23 | rtfree(9) and rtalloc(9) no longer need to be called under KERNEL_LOCK. | Martin Pieuchot | |
2015-10-23 | apply bold and italic to all non-ASCII Unicode codepoints, | Ingo Schwarze | |
fixing input like \fB\('e; issue reported by bentley@ | |||
2015-10-23 | Update route entries reference counters atomically. | Martin Pieuchot | |
This allows us to only grab the KERNEL_LOCK when the last reference of an entry has been dropped. For symmetry also grab the KERNEL_LOCK inside rtalloc(9). ok dlg@, bluhm@ | |||
2015-10-23 | don't need MMAP to compile now | Ted Unangst | |
2015-10-23 | correct spelling of statistic in function name, from Pablo Hernandez | Ted Unangst | |
2015-10-23 | Check that syslogd delays a blocking write to tty and that that all | Alexander Bluhm | |
messages still appear on the tty. | |||
2015-10-23 | It was possible to create a gateway route pointing to another gateway | Alexander Bluhm | |
route by changing the gateway. Despite the error message when doing so, the route did actually change. The gateway is modified by rt_setgate(), the error is created by rt_getifa(). Do these operations the other way around. OK mpi@ | |||
2015-10-23 | ``rt_ifp'' cannot be NULL. | Martin Pieuchot | |
ok claudio@ | |||
2015-10-23 | getnameinfo() no longer needs pledge "route". this drops to | Theo de Raadt | |
pledge "stdio rpath". | |||
2015-10-23 | Switch if_nameindex(3) to use the new NET_RT_IFNAMES sysctl to get the | Claudio Jeker | |
list of interface names. At the same time switch if_nametoindex(3) and if_indextoname(3) to use if_nameindex(3) instead of getifaddrs(3). if_nameindex(3) exposes much less then getifaddrs(3) and is allowed by pledge(2). With and OK deraadt@ | |||
2015-10-23 | Add ifnameindex to te libc regress tests | Claudio Jeker | |
2015-10-23 | delete ) that jumped in | Theo de Raadt | |
2015-10-23 | let the icmp check use getsockopt IP_IPDEFTTL to get the default ttl | Sebastian Benoit | |
instead of using sysctl. makes it possible to pledge hce. | |||
2015-10-23 | A bit of whitespace cleanup, to make further diffs smaller. | Vadim Zhukov | |
2015-10-23 | Fix BODUN handling after switch to UTF-8. | Vadim Zhukov | |
Still wondering if this functionality should be removed, but I'll leave the decision to those who drink alcohol. Input from & okay tedu@. | |||
2015-10-23 | Nuke a bunch of leading/embedded/trailing whitespace so the code can be | Kenneth R Westerback | |
read without generating spurious headaches. | |||
2015-10-23 | forgot to commit makefile change for utf-8 calendars | Ted Unangst | |
2015-10-23 | Introduce a new sysctl NET_RT_IFNAMES that returns only ifnames to ifindex | Claudio Jeker | |
mappings. This will be used by if_nameindex(3), if_nametoindex(3) and if_indextoname(3) soon to fix the issues in pledge because of inet6 link local addressing. OK mpi@ benno@ deraadt@ The libc version will follow soon so better start updating your kernels | |||
2015-10-23 | Make use of pledge(2). | Renato Westphal | |
ok deraadt@ | |||
2015-10-23 | Add pledge(2) to the child processes. | Renato Westphal | |
This is almost identical to the eigrpd(8) pledge diff, with the exception that the parent process can not be pledged bacause of a SIOCSETMPWCFG ioctl used to configure pseudowires. Looks good to deraadt@. | |||
2015-10-23 | Zap pv allocation abstraction layer. | Mark Kettenis | |
ok mlarkin@ | |||
2015-10-23 | i assume this file needs a LANG like all the rest | Ted Unangst | |
2015-10-23 | translate calendar files to utf-8 | Ted Unangst | |
2015-10-23 | push LDSTATIC line down so it's not overridden by makefile.inc. ok reyk | Ted Unangst | |