freebsd-dev/sys/i386
Maxim Sobolev 4b1783363f In linux emulation layer try to detect attempt to use linux_clone() to
create kernel threads and call rfork(2) with RFTHREAD flag set in this case,
which puts parent and child into the same threading group. As a result
all threads that belong to the same program end up in the same threading
group.

This is similar to what linuxthreads port does, though in this case we don't
have a luxury of having access to the source code and there is no definite
way to differentiate linux_clone() called for threading purposes from other
uses, so that we have to resort to heuristics.

Allow SIGTHR to be delivered between all processes in the same threading
group previously it has been blocked for s[ug]id processes.

This also should improve locking of the same file descriptor from different
threads in programs running under linux compat layer.

PR:			kern/72922
Reported by:		Andriy Gapon <avg@icyb.net.ua>
Idea suggested by:	rwatson
2005-03-03 16:57:55 +00:00
..
acpica netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
bios /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
compile
conf Spell "options" correctly as "options ". 2005-02-28 00:58:06 +00:00
cpufreq Make a pass through all drivers checking specs for desired behavior on 2005-02-27 02:43:02 +00:00
i386 netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
ibcs2 correct bounds check of fd parameter 2005-02-25 20:15:11 +00:00
include netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
isa netchild's mega-patch to isolate compiler dependencies into a central 2005-03-02 21:33:29 +00:00
linux In linux emulation layer try to detect attempt to use linux_clone() to 2005-03-03 16:57:55 +00:00
pci Make a bunch of malloc types static. 2005-02-10 12:02:37 +00:00
svr4 /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 22:18:23 +00:00
Makefile This commit adds basic support for the UFS2 filesystem. The UFS2 2002-06-21 06:18:05 +00:00