Age | Commit message (Expand) | Author |
2018-02-21 | Call socreate() before falloc() in sys_socket(). | Martin Pieuchot |
2018-02-19 | Grab solock() inside soconnect2() instead of asserting for it to be held. | Martin Pieuchot |
2018-02-19 | Remove almost unused `flags' argument of suser(). | Martin Pieuchot |
2018-02-11 | Revert rev 1.163. Causes network issues in Firefox. | Matthieu Herrb |
2018-02-09 | Call socreate() before falloc() in sys_socket(). | Martin Pieuchot |
2018-01-09 | Change `so_state' and `so_error' to unsigned int such that they can | Martin Pieuchot |
2018-01-02 | Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined. | Philip Guenther |
2017-09-01 | Change sosetopt() to no longer free the mbuf it receives and change | Martin Pieuchot |
2017-08-22 | Make sogetopt(9) caller responsible for allocating an MT_SOOPTS mbuf. | Martin Pieuchot |
2017-08-10 | Move the solock()/sounlock() dance outside of sobind(). | Martin Pieuchot |
2017-08-09 | Move the socket lock "above" sosetopt(), sogetopt() and sosplice(). | Martin Pieuchot |
2017-07-24 | Extend the scope of the socket lock to protect `so_state' in connect(2). | Martin Pieuchot |
2017-07-20 | When receiving a struct sockaddr from userland, enforce that memory | Alexander Bluhm |
2017-07-19 | Move KTRPOINT call up. The lenght variable i is getting aligned and so | Claudio Jeker |
2017-07-12 | Do not call fo_ioctl() in syscall that do, or will, take the socket | Martin Pieuchot |
2017-07-03 | Do not grab the socket lock in doaccept() twice. Pass NOTE_SUBMIT | Alexander Bluhm |
2017-03-27 | Reorder FREF() and FRELE() in a way that the the global variable | Alexander Bluhm |
2017-02-14 | Wrap the NET_LOCK() into a per-socket solock() that does nothing for | Martin Pieuchot |
2017-02-11 | Add a flags argument to falloc() that lets it optionally set the | Philip Guenther |
2017-01-26 | Allocate the mbuf before the netlock. While here, move the setting of | David Hill |
2017-01-25 | Allocate and connect sockets first, then upon success create file | Theo de Raadt |
2017-01-25 | Enable the NET_LOCK(), take 2. | Martin Pieuchot |
2017-01-24 | In accept(2) and accept4(2) allocate a new file descriptor before | Martin Pieuchot |
2016-12-29 | Change NET_LOCK()/NET_UNLOCK() to be simple wrappers around | Martin Pieuchot |
2016-12-19 | Introduce the NET_LOCK() a rwlock used to serialize accesses to the parts | Martin Pieuchot |
2016-11-29 | m_free() and m_freem() test for NULL. Simplify callers which had their own | Jonathan Gray |
2016-11-28 | Remove NULL checks before m_free{m,}(). | Martin Pieuchot |
2016-11-21 | Enforce that pr_usrreq functions are called at IPL_SOFTNET. | Martin Pieuchot |
2016-11-09 | Do not call splsoftnet() recursively, this won't work with a lock. | Martin Pieuchot |
2016-10-23 | unbreak by fixing obvious pastos | Christian Weisgerber |
2016-10-23 | handle non-INET6 kernels in some way | Theo de Raadt |
2016-10-23 | dns hijacking must be af specific. move it into the port check function, | Ted Unangst |
2016-10-08 | Add ktracing of the fds returned by pipe() and socketpair() | Philip Guenther |
2016-10-07 | introduce a sysctl to hijack dns sockets. when set to a port number, | Ted Unangst |
2016-08-09 | When interrupted, connect() should leave the socket connecting in the | Philip Guenther |
2016-05-18 | Remove unnecessary cast of buflen to u_int in sockargs(). This was | Todd C. Miller |
2016-01-08 | On the recvmsg() side, cmsgs are in mbuf chains, not a contiguous buffer. | Philip Guenther |
2015-12-05 | remove stale lint annotations | Ted Unangst |
2015-11-21 | remove completely pledge_socket() from listen(2) and accept(2). | Sebastien Marie |
2015-11-20 | Neuter the pledge domain checking for listen, getpeername, and getsockname | Theo de Raadt |
2015-11-20 | Exempt accept(2) from the pledge_socket() check part of the "domain" | Theo de Raadt |
2015-11-19 | corrects leaks refs to files introduced by my previous commit for pledge_socket. | Sebastien Marie |
2015-11-18 | check domain and state of socket against pledge promise. | Sebastien Marie |
2015-11-08 | pull initialization up before poosible goto bad, from Mark Latimer | Ted Unangst |
2015-11-01 | refactor pledge_*_check and pledge_fail functions | Sebastien Marie |
2015-10-28 | more accurate pledge_fail() error and code for sys_socket | Sebastien Marie |
2015-10-28 | The short-lived dnssocket/dnsconnect calls are being required because we | Theo de Raadt |
2015-10-26 | dns check needs to be done on the kernel address after copyin | Ted Unangst |
2015-10-25 | Fold "malloc" into "stdio" and -- recognizing that no program so far has | Theo de Raadt |
2015-10-25 | pledge_sockopt_check is shared between setsockopt/getsockopt. nicm | Theo de Raadt |