summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2012-05-01Eliminate the f_usecount ref count in struct file; instead of sleepingPhilip Guenthe
2012-05-01Correct the error path in execve when there's a race to single threadPhilip Guenthe
2012-04-26Cleanup unp_bind() a little:Matthew Dempsky
2012-04-24In sosend() for AF_UNIX control message sending, correctly calculateTheo de Raadt
2012-04-23Don't leak mbufs when bind() on a PF_UNIX socket fails.Matthew Dempsky
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-04-22Reset t_column to 0 when initializing a tty.Matthew Dempsky
2012-04-17Make it optional for kvm_getprocs() (and related sysctl) to returnPaul Irofti
2012-04-14If single threading is active, drirect the SIGKILL signal we send to orphanedMark Kettenis
2012-04-14Do not just return in case the provided control buffer is too short sinceClaudio Jeker
2012-04-14Free tmp buffer in case the cluster allocation failed. Found by David Hill.Claudio Jeker
2012-04-14Revert rev 1.58, as it frees an uninitialized pointerPhilip Guenthe
2012-04-13gc unused functionTheo de Raadt
2012-04-13For now, direct the kill signal sent by PT_KILL to the thread that made usMark Kettenis
2012-04-13Don't convert a mbuf to a cluster and think the data in the mbuf is stillClaudio Jeker
2012-04-13Backout a tiny part of the previous commit. Decrementing ps_singlecount inMark Kettenis
2012-04-13oops, wrong version of diff in previousTheo de Raadt
2012-04-13Do not clamp the file descriptors to the buffer size; that leads toTheo de Raadt
2012-04-13First stab at making ptrace(2) usable for debugging multi-threaded programs.Mark Kettenis
2012-04-13unneccessary casts to unsigned; ok claudioTheo de Raadt
2012-04-12In this case where dup2() extends the table using fdalloc, the newlyTheo de Raadt
2012-04-12Add per thread accounting, mainly for usage & friends.Paul Irofti
2012-04-12hibernate: fix lock/unlock mismatchAriane van der Steldt
2012-04-12If the "main" thread exits it stays around but unlinks itself from theMark Kettenis
2012-04-12syncTheo de Raadt
2012-04-12remove rfork(); ok guenther miodTheo de Raadt
2012-04-12PT_GETXMMREGS and PT_SETXMMREGS can take a TID.Mark Kettenis
2012-04-12syncTheo de Raadt
2012-04-12kill lfs system call lines and libc stubsTheo de Raadt
2012-04-12syncTheo de Raadt
2012-04-12New system call: getdtablecount(2) returns the number of fileTheo de Raadt
2012-04-12dup() was calling fd_used() twice for the new file descriptor. SeperateTheo de Raadt
2012-04-12move accounting flags to struct process; idea and ok guentherMike Belopuhov
2012-04-11Move the P_WAITED flag from struct proc to struct process.Mark Kettenis
2012-04-11In sendmsg() permit at most 10% of maxfiles to be in-flightTheo de Raadt
2012-04-11SLIST_REMOVE_NEXT -> SLIST_REMOVE_AFTER for better consistency andChristian Weisgerber
2012-04-10Add a start record to the ktrace and use a special magic string "KTR"Mike Belopuhov
2012-04-10Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimitPhilip Guenthe
2012-04-10When converting the timeout to ticks, both round up and add one to accountPhilip Guenthe
2012-04-10POSIX locks should track the process's pid and not the thread's idPhilip Guenthe
2012-04-07Tweak FAT detection/usage. Recognize 'bare' FAT media that lacksKenneth R Westerback
2012-04-06Implement PT_GET_THREAD_FIRS and PT_GET_THREAD_NEXT.Mark Kettenis
2012-04-06ruadd() does the summing of system and user times, so doing so againPhilip Guenthe
2012-03-31Some whitespace/paren tweaks. Rename the mbr testing variable fromKenneth R Westerback
2012-03-30Expand the panic to show the malloc type and size. Okay deraadt@.Paul Irofti
2012-03-28The kinfo_file2 structure's f_wbytes member was being filled with thePhilip Guenthe
2012-03-26Fix an integer math error when using the result of uvm_page_rle, andMike Larkin
2012-03-26clear junk in p_comm before copying shorter names into itTheo de Raadt
2012-03-25release the file ref to the kqueue while in kevent(), so that close()Theo de Raadt
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe