Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-06-18 | split PT_DETACH handling, so that pc cannot be set by it; art ok | Theo de Raadt | |
2001-06-16 | sync | Theo de Raadt | |
2001-06-16 | sysarch() takes a void * | Theo de Raadt | |
2001-06-15 | Avoid a dangerous race. | Artur Grabowski | |
To avoid having a ptrace(2)d process from doing an exec of a suid binary we strip off the suid bits from the executable if the process is traced. Later we P_SUGID{,EXEC} in the process flags that stops further ptrace attempts. The problem is that between the stripping of suid bits and setting P_SUGID{,EXEC} there is a pretty large window where the process can sleep and other processes can attach to it with ptrace. This is a quick fix for that. We set P_SUGID{,EXEC} early and take care to remove them (we don't want the process to become tainted unnecessarily) if exec fails. XXX - exec needs a lot more work, but people are asking for a solution now. | |||
2001-06-13 | Repair bad printf (-Wall cleanup) | Miod Vallat | |
2001-06-12 | deal with gnu kernel dependencies right; cyxob@thief.dyndns.org | Theo de Raadt | |
2001-06-05 | send note_revoke to knotes when vnode goes away, okay art@ | Niels Provos | |
2001-06-05 | generic kqfilter that just like select returns ready for read and write. | Niels Provos | |
2001-06-05 | fix kqueue EVFILT_WRITE; okay art@ | Niels Provos | |
2001-06-03 | e_wmesg was not initialized in all cases; kirk.russell@acm.org | Theo de Raadt | |
2001-06-03 | WALTSIG is a valid option for sys_wait4(). | Angelos D. Keromytis | |
2001-06-03 | Export nprocs. | Angelos D. Keromytis | |
2001-06-03 | KERN_FSCALE and KERN_CCPU | Angelos D. Keromytis | |
2001-06-03 | Pass struct diskstats through sysctl, deraadt@ ok | Angelos D. Keromytis | |
2001-05-28 | cluster_rbuild() have a race between incore and getblk. incore() returns | Grigoriy Orlov | |
zero indicating that buffer is not in a cache, but getblk() going to sleep: getblk->getnewbuf->tsleep. When getnewbuf() returns after a sleep, getblk() may find B_DONE buffer in hash and return it. When io operation finishes biodone() calls cluster_callback() which moves pages from one big cluster buffer into several component buffers and calls biodone() for every component buffer. Since there are a component buffer with B_DONE already set, biodone() panices: "biodone already". costa@ ok. | |||
2001-05-27 | m_tag_first()/m_tag_next() | Angelos D. Keromytis | |
2001-05-26 | Convert to LIST, remove m_tag_append(), add m_tag_init(). | Angelos D. Keromytis | |
2001-05-26 | Use m_tag_init() and M_COPY_HDR(). | Angelos D. Keromytis | |
2001-05-26 | Fix backpointer. | Angelos D. Keromytis | |
2001-05-26 | Style. | Angelos D. Keromytis | |
2001-05-26 | Sync in some improvements from FreeBSD + my own improvements. | Artur Grabowski | |
- use pool for allocating pipe structures. - use microtime instead of splhigh and time. - improve locking. - better handling of nonblocking. - various efficiency fixes. | |||
2001-05-26 | Make it a bit more obvious what dosetrlimit does. (shrink). | Artur Grabowski | |
2001-05-26 | indentation. | Artur Grabowski | |
2001-05-25 | recover old acecept(2) behavior (no ECONNABORTED) for unix domain socket. | Jun-ichiro itojun Hagino | |
it is to be friendly with postfix daemon-to-daemon communication (not 100% sure if which behavior is correct, specwise). patch similar to netbsd. | |||
2001-05-24 | More DIAGNOSTIC checks. | Angelos D. Keromytis | |
2001-05-24 | Catch another weird case in diagnostics. | Angelos D. Keromytis | |
2001-05-24 | If the copied tag container is empty, initialize it properly. | Angelos D. Keromytis | |
2001-05-23 | Don't panic on kqueues and crypto descriptors in fpathconf. | Artur Grabowski | |
Just return EOPNOTSUPP. | |||
2001-05-23 | Indentation. | Artur Grabowski | |
2001-05-22 | Do some ideally unneeded checking of tags. | Angelos D. Keromytis | |
2001-05-20 | fix comments. | Grigoriy Orlov | |
2001-05-20 | m_tag_* routines, plus minor changes (convert from tdbi to tags) | Angelos D. Keromytis | |
2001-05-18 | Use pool_page_alloc_nointr() and pool_page_free_nointr() since they | Todd C. Miller | |
are exported wheras pool_page_alloc() and pool_page_free() are static. In the non-UVM case these just call pool_page_alloc() and pool_page_free() anyway. | |||
2001-05-17 | convert mbuf and cluster allocation to pool, mostly from NetBSD | Niels Provos | |
okay art@ miod@ | |||
2001-05-16 | regen for COMPAT_2{3,5} | Todd C. Miller | |
2001-05-16 | Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it. | Todd C. Miller | |
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there. | |||
2001-05-16 | indentation nit. | Artur Grabowski | |
2001-05-16 | No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok) | Hakan Olsson | |
2001-05-16 | Use pool to allocate struct filedesc0 and struct file. | Artur Grabowski | |
2001-05-16 | Introduce a new kernel option "SMALL_KERNEL" that will be used to keep the | Artur Grabowski | |
kernel size down. Two changes. Uninline MALLOC and uninline a few mbuf macros. Saves 140k on alpha RAMDISK (although only 11k after gzip). | |||
2001-05-16 | kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and ↵ | Todd C. Miller | |
kern_ipc_10.c for other compat modules. | |||
2001-05-14 | Isn't copy 'n paste a great invention? | Artur Grabowski | |
2001-05-14 | Remove some unnecessary code + some random cleanup. | Artur Grabowski | |
2001-05-14 | gc OLD_PIPE. | Artur Grabowski | |
2001-05-14 | ifdef FOO inside an ifdef FOO feels like overkill. | Artur Grabowski | |
2001-05-14 | use fo_stat in fileops instead of huge switch statements. | Artur Grabowski | |
2001-05-14 | Add a fo_stat member to struct fileops. Used soon. | Artur Grabowski | |
Also add a stat function for kqueue from FreeBSD. | |||
2001-05-14 | Implement a wrapper round vn_stat that takes the same arguments | Artur Grabowski | |
as soo_stat and pipe_stat. | |||
2001-05-14 | More generic arguments to soo_stat. | Artur Grabowski | |
2001-05-14 | More generic arguments to pipe_stat. | Artur Grabowski | |