<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/kern/syscalls.master, branch release/5.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2003-11-14T03:48:37Z</updated>
<entry>
<title> - Revision 1.156 marked ptrace() SMP safe.  Unfortunately, alpha implements</title>
<updated>2003-11-14T03:48:37Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2003-11-14T03:48:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5c49a0566a1e29d54d51d62e71de2fa95e594963'/>
<id>urn:sha1:5c49a0566a1e29d54d51d62e71de2fa95e594963</id>
<content type='text'>
   parts of ptrace using proc_rwmem().  proc_rwmem() requires giant, and
   giant must be acquired prior to the proc lock, so ptrace must require giant
   still.
</content>
</entry>
<entry>
<title>Update the statfs structure with 64-bit fields to allow</title>
<updated>2003-11-12T08:01:40Z</updated>
<author>
<name>Kirk McKusick</name>
<email>mckusick@FreeBSD.org</email>
</author>
<published>2003-11-12T08:01:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fde81c7d8e5a5cf50a6a9979eb7d0232b361a772'/>
<id>urn:sha1:fde81c7d8e5a5cf50a6a9979eb7d0232b361a772</id>
<content type='text'>
accurate reporting of multi-terabyte filesystem sizes.

You should build and boot a new kernel BEFORE doing a `make world'
as the new kernel will know about binaries using the old statfs
structure, but an old kernel will not know about the new system
calls that support the new statfs structure. Running an old kernel
after a `make world' will cause programs such as `df' that do a
statfs system call to fail with a bad system call.

Reviewed by:	Bruce Evans &lt;bde@zeta.org.au&gt;
Reviewed by:	Tim Robbins &lt;tjr@freebsd.org&gt;
Reviewed by:	Julian Elischer &lt;julian@elischer.org&gt;
Reviewed by:	the hoards of &lt;arch@freebsd.org&gt;
Sponsored by:   DARPA &amp; NAI Labs.
</content>
</entry>
<entry>
<title>Mark ptrace(), ktrace(), utrace(), sysarch(), and issetugid() as MP safe.</title>
<updated>2003-11-07T20:23:23Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2003-11-07T20:23:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c055e5d412d463c3a483dbe9c72084cade3089c5'/>
<id>urn:sha1:c055e5d412d463c3a483dbe9c72084cade3089c5</id>
<content type='text'>
The parts of these calls that are not yet MP safe acquire Giant explicitly.
</content>
</entry>
<entry>
<title>Don peril-sensitive sunglasses and mark pipe(2) as MPSAFE.  I've beaten up</title>
<updated>2003-10-21T07:03:27Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2003-10-21T07:03:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bd781a1ed6e2eae7d7d70c50a8f2fbde6e7ccd4b'/>
<id>urn:sha1:bd781a1ed6e2eae7d7d70c50a8f2fbde6e7ccd4b</id>
<content type='text'>
on it for the last 15 hours with no signs of problems.  It gives a small
(1%) gain on buildworld since pipe_read/pipe_write are already free of Giant.
</content>
</entry>
<entry>
<title>Mark dup as MPSAFE. Giant was pushed into dup ages ago, but it looks</title>
<updated>2003-10-20T16:16:03Z</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2003-10-20T16:16:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=111b0d0d298207ebbb279f437bbaa88060af0374'/>
<id>urn:sha1:111b0d0d298207ebbb279f437bbaa88060af0374</id>
<content type='text'>
like it was missed in syscalls.master.

Spotted by:	alc
</content>
</entry>
<entry>
<title>msync(2) should be declared MP-safe.</title>
<updated>2003-09-07T05:42:07Z</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>2003-09-07T05:42:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ffe5125eac02c93178888eab17b713a19c3d6496'/>
<id>urn:sha1:ffe5125eac02c93178888eab17b713a19c3d6496</id>
<content type='text'>
</content>
</entry>
<entry>
<title>o Refine kse_thr_interrupt to allow it to handle different commands.</title>
<updated>2003-07-17T22:45:33Z</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2003-07-17T22:45:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dd7da9aa282507fe95ff6dc31fc4bbcf19dec9be'/>
<id>urn:sha1:dd7da9aa282507fe95ff6dc31fc4bbcf19dec9be</id>
<content type='text'>
o Remove TDF_NOSIGPOST.
o Add a member td_waitset to proc structure, it will be used for sigwait.

Tested by: deischen
</content>
</entry>
<entry>
<title>o Change kse_thr_interrupt to allow send a signal to a specified thread,</title>
<updated>2003-06-28T08:29:05Z</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2003-06-28T08:29:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9dde3bc99964306ec493ab1270ba8b0c1cee81b7'/>
<id>urn:sha1:9dde3bc99964306ec493ab1270ba8b0c1cee81b7</id>
<content type='text'>
  or unblock a thread in kernel, and allow UTS to specify whether syscall
  should be restarted.
o Add ability for UTS to monitor signal comes in and removed from process,
  the flag PS_SIGEVENT is used to indicate the events.
o Add a KMF_WAITSIGEVENT for KSE mailbox flag, UTS call kse_release with
  this flag set to wait for above signal event.
o For SA based thread, kernel masks all signal in its signal mask, let
  UTS to use kse_thr_interrupt interrupt a thread, and install a signal
  frame in userland for the thread.
o Add a tm_syncsig in thread mailbox, when a hardware trap occurs,
  it is used to deliver synchronous signal to userland, and upcall
  is schedule, so UTS can process the synchronous signal for the thread.

Reviewed by: julian (mentor)
</content>
</entry>
<entry>
<title>Add system calls to explicitly list extended attributes on a</title>
<updated>2003-06-04T03:49:31Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2003-06-04T03:49:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9e18f27730a1e162ec5675556c603e2b45b3e789'/>
<id>urn:sha1:9e18f27730a1e162ec5675556c603e2b45b3e789</id>
<content type='text'>
file/directory/link, rather than using a less explicit hack on
the extattr retrieval API:

  extattr_list_fd()
  extattr_list_file()
  extattr_list_link()

The existing API was counter-intuitive, and poorly documented.
The prototypes for these system calls are identical to
extattr_get_*(), but without a specific attribute name to
leave NULL.

Pointed out by:	Dominic Giampaolo &lt;dbg@apple.com&gt;
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
</content>
</entry>
<entry>
<title>o In struct prison, add an allprison linked list of prisons (protected</title>
<updated>2003-04-09T02:55:18Z</updated>
<author>
<name>Mike Barcroft</name>
<email>mike@FreeBSD.org</email>
</author>
<published>2003-04-09T02:55:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fd7a8150fbfa35eca5fa77c068493cc6315a4eb2'/>
<id>urn:sha1:fd7a8150fbfa35eca5fa77c068493cc6315a4eb2</id>
<content type='text'>
  by allprison_mtx), a unique prison/jail identifier field, two path
  fields (pr_path for reporting and pr_root vnode instance) to store
  the chroot() point of each jail.
o Add jail_attach(2) to allow a process to bind to an existing jail.
o Add change_root() to perform the chroot operation on a specified
  vnode.
o Generalize change_dir() to accept a vnode, and move namei() calls
  to callers of change_dir().
o Add a new sysctl (security.jail.list) which is a group of
  struct xprison instances that represent a snapshot of active jails.

Reviewed by:	rwatson, tjr
</content>
</entry>
</feed>
