<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/compat/linux/linux_misc.c, branch release/7.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.3.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.3.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2010-03-21T01:30:13Z</updated>
<entry>
<title>Copy releng/7.3 to release/7.3.0 to mark 7.3-RELEASE.</title>
<updated>2010-03-21T01:30:13Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2010-03-21T01:30:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9c4d1c1956ecb0a222fb2f4579c320391fb67f06'/>
<id>urn:sha1:9c4d1c1956ecb0a222fb2f4579c320391fb67f06</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 7.3-RELEASE image.
</content>
</entry>
<entry>
<title>Merge r191883,191966,191973 from HEAD to stable/7:</title>
<updated>2009-05-28T18:26:18Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-05-28T18:26:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a47bd4c2b1d74e74b866d44cda4b841a25356f9b'/>
<id>urn:sha1:a47bd4c2b1d74e74b866d44cda4b841a25356f9b</id>
<content type='text'>
Linux exports HZ value to user space via AT_CLKTCK auxiliary vector
entry since 2.4.0.
Being exported, AT_CLKTCK is returned by sysconf(_SC_CLK_TCK),
glibc falls back to the hard-coded CLK_TCK value when aux entry
is not present.

Glibc versions prior to 2.2.1 always use hard-coded CLK_TCK value.

For older applications/libc's which depends on hard-coded CLK_TCK
value user should set compat.linux.osrelease less than 2.4.0.

linux_times() shall use the value that is exported to user space.

PR:		kern/134251
Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>Merge r191880 from HEAD to stable/7:</title>
<updated>2009-05-25T20:35:41Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-05-25T20:35:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=76ff5e9f8fa97b8d0b2ef84213caa1d1d32e5928'/>
<id>urn:sha1:76ff5e9f8fa97b8d0b2ef84213caa1d1d32e5928</id>
<content type='text'>
Change linux struct tms definition to match actual linux one.

Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>Merge from HEAD to stable/7:</title>
<updated>2009-05-05T14:53:58Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-05-05T14:53:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7a57d7ffe816b0fe0347ab9d72820bfb56d04992'/>
<id>urn:sha1:7a57d7ffe816b0fe0347ab9d72820bfb56d04992</id>
<content type='text'>
r178976 (rdivacky):
Implement robust futexes. Most of the code is modelled after
what Linux does. This is because robust futexes are mostly
userspace thing which we cannot alter. Two syscalls maintain
pointer to userspace list and when process exits a routine
walks this list waking up processes sleeping on futexes
from that list.

r183871:
Make robust futexes work on linux32/amd64. Use PTRIN to read
user-mode pointers. Change types used in the structures definitions to
properly-sized architecture-specific types.

r185002:
In the robust futexes list head, futex_offset shall be signed,
and glibc actually supplies negative offsets. Change l_ulong to l_long.

Approved by:	kib (mentor)
</content>
</entry>
<entry>
<title>Merge from HEAD to stable/7:</title>
<updated>2009-04-10T13:45:56Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2009-04-10T13:45:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b89025b00e0788ea24ac5ed3af8b56cf0952fbaf'/>
<id>urn:sha1:b89025b00e0788ea24ac5ed3af8b56cf0952fbaf</id>
<content type='text'>
r186211:
Remove obsolete AT_DEBUG stuff.  It never should have been committed
in the first place, let alone migrated to linux emulation.

r189362:
Add AT_PLATFORM, AT_HWCAP and AT_CLKTCK auxiliary vector entries which
are used by glibc. This silents the message "2.4+ kernel w/o ELF notes?"
from some programs at start, among them are top and pkill.

Do the assignment of the vector entries in elf_linux_fixup()
as it is done in glibc.

Fix some minor style issues.

Approved by:	re (Ken Smith), kib(mentor)
</content>
</entry>
<entry>
<title>MFC r177257 (by rdivacky):</title>
<updated>2008-10-20T11:15:57Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2008-10-20T11:15:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4996c2a321b7f722736d6b117931737102f96cfb'/>
<id>urn:sha1:4996c2a321b7f722736d6b117931737102f96cfb</id>
<content type='text'>
Implement sched_setaffinity and get_setaffinity using real cpu affinity
setting primitives.

MFC r177604 (by ru):
Fix build.

MFC r183612:
Use FreeBSD size of cpuset_t for bitmap size parameter and return EINVAL
if length of user space bitmap less than our size of cpuset_t.

Approved by: re (kensmith)
</content>
</entry>
<entry>
<title>MFC</title>
<updated>2008-02-29T14:58:08Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2008-02-29T14:58:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5bd089d0e1995421084a2724d4a323463a649e9d'/>
<id>urn:sha1:5bd089d0e1995421084a2724d4a323463a649e9d</id>
<content type='text'>
rev. 1.3 of linux_misc.h,
rev. 1.217 of linux_misc.c:

Sanitize arguments to linux_mremap().
Check that only MREMAP_FIXED and MREMAP_MAYMOVE flags are specified.
Check for the page alignment of the addr argument.
</content>
</entry>
<entry>
<title>Implement fake linux sched_getaffinity() syscall to enable java to work</title>
<updated>2007-08-28T12:26:35Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2007-08-28T12:26:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b6e645c90f37e74056544503883f1cf02d290116'/>
<id>urn:sha1:b6e645c90f37e74056544503883f1cf02d290116</id>
<content type='text'>
with Linux 2.6 emulation. This shall be reimplemented once FreeBSD gets
native scheduler affinity syscalls.

Submitted by:	rdivacky
Reviewed by:	jkim
Sponsored by:	Google Summer of Code 2007
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in</title>
<updated>2007-06-12T00:12:01Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-06-12T00:12:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=32f9753cfbfe844fa6c02c88c7ca96617e903d8e'/>
<id>urn:sha1:32f9753cfbfe844fa6c02c88c7ca96617e903d8e</id>
<content type='text'>
some cases, move to priv_check() if it was an operation on a thread and
no other flags were present.

Eliminate caller-side jail exception checking (also now-unused); jail
privilege exception code now goes solely in kern_jail.c.

We can't yet eliminate suser() due to some cases in the KAME code where
a privilege check is performed and then used in many different deferred
paths.  Do, however, move those prototypes to priv.h.

Reviewed by:	csjp
Obtained from:	TrustedBSD Project
</content>
</entry>
<entry>
<title>rufetch and calcru sometimes should be called atomically together.</title>
<updated>2007-06-09T21:48:44Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2007-06-09T21:48:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a1fe14bc333c7b2b9886a7cdd7d78677e0a01413'/>
<id>urn:sha1:a1fe14bc333c7b2b9886a7cdd7d78677e0a01413</id>
<content type='text'>
This patch fixes places where they should be called atomically changing
their locking requirements (both assume per-proc spinlock held) and
introducing rufetchcalc which wrappers both calls to be performed in
atomic way.

Reviewed by: jeff
Approved by: jeff (mentor)
</content>
</entry>
</feed>
