The NetBSD Project

CVS log for src/sys/kern/syscalls.master

[BACK] Up to [cvs.NetBSD.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.311 / (download) - annotate - [select for diffs], Fri Jul 28 18:19:01 2023 UTC (8 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.310: +18 -6 lines
Diff to previous 1.310 (colored)

Add epoll(2) from Theodore Preduta as part of GSoC 2023

Revision 1.310 / (download) - annotate - [select for diffs], Mon Jul 10 02:33:04 2023 UTC (9 months ago) by christos
Branch: MAIN
Changes since 1.309: +3 -1 lines
Diff to previous 1.309 (colored)

Add memfd_create(2) from GSoC 2023 by Theodore Preduta

Revision 1.309 / (download) - annotate - [select for diffs], Mon Nov 1 05:07:17 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.308: +3 -4 lines
Diff to previous 1.308 (colored)

Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name.  NFC.

Revision 1.308 / (download) - annotate - [select for diffs], Sun Sep 19 15:51:27 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.307: +9 -5 lines
Diff to previous 1.307 (colored)

Add native implementations of eventfd(2) and timerfd(2), compatible with
the Linux interfaces of the same name.

Revision 1.306.2.3 / (download) - annotate - [select for diffs], Mon Dec 14 16:53:36 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.306.2.2: +8 -4 lines
Diff to previous 1.306.2.2 (colored) next main 1.307 (colored)

Native implementation of the Linux timerfd API.

Revision 1.306.2.2 / (download) - annotate - [select for diffs], Mon Dec 14 16:00:51 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.306.2.1: +2 -2 lines
Diff to previous 1.306.2.1 (colored)

Native implementation of the Linux eventfd(2) API.

Revision 1.306.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:14 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.306: +2 -2 lines
Diff to previous 1.306 (colored)

Sync w/ HEAD.

Revision 1.307 / (download) - annotate - [select for diffs], Mon Nov 2 18:55:12 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.306: +2 -2 lines
Diff to previous 1.306 (colored)

PR/55777: Ruslan Nikolaev: Make clock_getcpuclockid2 accessible from rump

Revision 1.306 / (download) - annotate - [select for diffs], Fri Aug 14 00:53:16 2020 UTC (3 years, 7 months ago) by riastradh
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.305: +3 -2 lines
Diff to previous 1.305 (colored)

New system call getrandom() compatible with Linux and others.

Three ways to call:

getrandom(p, n, 0)              Blocks at boot until full entropy.
                                Returns up to n bytes at p; guarantees
                                up to 256 bytes even if interrupted
                                after blocking.  getrandom(0,0,0)
                                serves as an entropy barrier: return
                                only after system has full entropy.

getrandom(p, n, GRND_INSECURE)  Never blocks.  Guarantees up to 256
                                bytes even if interrupted.  Equivalent
                                to /dev/urandom.  Safe only after
                                successful getrandom(...,0),
                                getrandom(...,GRND_RANDOM), or read
                                from /dev/random.

getrandom(p, n, GRND_RANDOM)    May block at any time.  Returns up to n
                                bytes at p, but no guarantees about how
                                many -- may return as short as 1 byte.
                                Equivalent to /dev/random.  Legacy.
                                Provided only for source compatibility
                                with Linux.

Can also use flags|GRND_NONBLOCK to fail with EWOULDBLOCK/EAGAIN
without producing any output instead of blocking.

- The combination GRND_INSECURE|GRND_NONBLOCK is the same as
  GRND_INSECURE, since GRND_INSECURE never blocks anyway.

- The combinations GRND_INSECURE|GRND_RANDOM and
  GRND_INSECURE|GRND_RANDOM|GRND_NONBLOCK are nonsensical and fail
  with EINVAL.

As proposed on tech-userlevel, tech-crypto, tech-security, and
tech-kern, and subsequently adopted by core (minus the getentropy part
of the proposal, because other operating systems and participants in
the discussion couldn't come to an agreement about getentropy and
blocking semantics):

https://mail-index.netbsd.org/tech-userlevel/2020/05/02/msg012333.html

Revision 1.305 / (download) - annotate - [select for diffs], Sat May 16 18:31:50 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.304: +27 -1 lines
Diff to previous 1.304 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.304 / (download) - annotate - [select for diffs], Sun Apr 26 19:15:55 2020 UTC (3 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.303: +8 -11 lines
Diff to previous 1.303 (colored)

Due to a collision with another upcoming change, relocate the futex calls
to the 3 free slots at 166-168.

Revision 1.303 / (download) - annotate - [select for diffs], Sun Apr 26 18:53:33 2020 UTC (3 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.302: +8 -1 lines
Diff to previous 1.302 (colored)

Add a NetBSD native futex implementation, mostly written by riastradh@.
Map the COMPAT_LINUX futex calls to the native ones.

Revision 1.298.2.2 / (download) - annotate - [select for diffs], Sat Apr 25 11:24:06 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.298.2.1: +3 -3 lines
Diff to previous 1.298.2.1 (colored) to branchpoint 1.298 (colored) next main 1.299 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.302 / (download) - annotate - [select for diffs], Wed Apr 22 21:22:21 2020 UTC (3 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.301: +3 -3 lines
Diff to previous 1.301 (colored)

Remove _lwp_gettid(2) system call.  This problem is going to be solved
another way.  (Note: this call was never exposed in libc, so we can just
recycle the syscall number.)

Revision 1.291.4.3 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:42 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.291.4.2: +247 -246 lines
Diff to previous 1.291.4.2 (colored) to branchpoint 1.291 (colored) next main 1.292 (colored)

Sync with HEAD

Revision 1.298.2.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:10 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.298: +248 -247 lines
Diff to previous 1.298 (colored)

Sync with HEAD

Revision 1.291.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:04 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.291.4.1: +28 -15 lines
Diff to previous 1.291.4.1 (colored) to branchpoint 1.291 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.301 / (download) - annotate - [select for diffs], Sun Apr 12 22:06:17 2020 UTC (4 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base1
Changes since 1.300: +20 -20 lines
Diff to previous 1.300 (colored)

put back the MODULAR attributes accidentally removed.

Revision 1.300 / (download) - annotate - [select for diffs], Sun Apr 12 13:37:12 2020 UTC (4 years ago) by christos
Branch: MAIN
Changes since 1.299: +93 -92 lines
Diff to previous 1.299 (colored)

change ' \t' to '\t'

Revision 1.299 / (download) - annotate - [select for diffs], Sun Apr 12 13:30:16 2020 UTC (4 years ago) by christos
Branch: MAIN
Changes since 1.298: +181 -181 lines
Diff to previous 1.298 (colored)

Change STD[:random-whitespace:]RUMP to STD\tRUMP

Revision 1.298 / (download) - annotate - [select for diffs], Sat Apr 4 20:20:12 2020 UTC (4 years ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Changes since 1.297: +3 -3 lines
Diff to previous 1.297 (colored)

Add support for lazily generating a "global thread ID" for a LWP.  This
identifier uniquely identifies an LWP across the entire system, and will
be used in future improvements in user-space synchronization primitives.

(Test disabled and libc stub not included intentionally so as to avoid
multiple libc version bumps.)

Revision 1.296.2.1 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:51 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.296: +3 -2 lines
Diff to previous 1.296 (colored) next main 1.297 (colored)

Sync with head.

Revision 1.297 / (download) - annotate - [select for diffs], Tue Jan 21 02:37:16 2020 UTC (4 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2
Changes since 1.296: +3 -2 lines
Diff to previous 1.296 (colored)

Split the compat_50 module into two, separating the QUOTA-related
stuff from the rest of the module.  This allows loading of the
(main) compat_50 module on kernels that don't include ``options
QUOTA''.

Welcome to 9.99.40 !

Addresses PR kern/54875

Revision 1.296 / (download) - annotate - [select for diffs], Sun Sep 22 22:59:39 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.295: +23 -11 lines
Diff to previous 1.295 (colored)

Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=

Revision 1.295 / (download) - annotate - [select for diffs], Tue Jun 18 16:06:45 2019 UTC (4 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.294: +3 -3 lines
Diff to previous 1.294 (colored)

remove XXX from the quota call.

Revision 1.291.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:03 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.291: +143 -128 lines
Diff to previous 1.291 (colored)

Sync with HEAD

Revision 1.294 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:43 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Changes since 1.293: +139 -125 lines
Diff to previous 1.293 (colored)

Merge the [pgoyette-compat] branch

Revision 1.291.2.9 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:42 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.291.2.8: +3 -2 lines
Diff to previous 1.291.2.8 (colored) to branchpoint 1.291 (colored) next main 1.292 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.293 / (download) - annotate - [select for diffs], Tue Jul 31 13:00:13 2018 UTC (5 years, 8 months ago) by rjs
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.292: +3 -2 lines
Diff to previous 1.292 (colored)

Add getsockopt2() syscall.

Revision 1.291.2.8 / (download) - annotate - [select for diffs], Sat Jul 28 04:38:08 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.291.2.7: +3 -3 lines
Diff to previous 1.291.2.7 (colored) to branchpoint 1.291 (colored)

Sync with HEAD

Revision 1.292 / (download) - annotate - [select for diffs], Thu Jul 12 10:46:48 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.291: +3 -3 lines
Diff to previous 1.291 (colored)

Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

 * Removes "options PERFCTRS", the associated includes, and the associated
   ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
   good.

 * Removes the PMC code of ARM XSCALE.

 * Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

 * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
   definitions are put in sysarch.h.

 * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
   and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
   netbsd32 and rump.

 * Removes the pmc_evid_t and pmc_ctr_t types.

 * Removes all the associated man pages. The sets are marked as obsolete.

Revision 1.291.2.7 / (download) - annotate - [select for diffs], Tue Apr 17 23:58:48 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.291.2.6: +131 -124 lines
Diff to previous 1.291.2.6 (colored) to branchpoint 1.291 (colored)

Update compat module names to reference the version-specific modules.

This way, when we autoload compat code we load only what is needed,
and nothing "older".

Revision 1.291.2.6 / (download) - annotate - [select for diffs], Tue Mar 27 23:08:44 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.291.2.5: +3 -2 lines
Diff to previous 1.291.2.5 (colored) to branchpoint 1.291 (colored)

Mark syscall #175 modular, since it is provided by the COMPAT_30 code

Revision 1.291.2.5 / (download) - annotate - [select for diffs], Sun Mar 25 07:19:13 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.291.2.4: +13 -7 lines
Diff to previous 1.291.2.4 (colored) to branchpoint 1.291 (colored)

Since we're including the sa sysscalls in the compat_60 module code (even
if they are all implemented as no-ops), mark the master syscall list
appropriately.  Otherwise we fail to load the module.

Revision 1.291.2.4 / (download) - annotate - [select for diffs], Sat Mar 17 06:49:57 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.291.2.3: +2 -2 lines
Diff to previous 1.291.2.3 (colored) to branchpoint 1.291 (colored)

Back out changes on the branch related to kernel microcode compat.

Christos didn't like the way it was done, so waiting for a better
approach/implementation.

Revision 1.291.2.3 / (download) - annotate - [select for diffs], Fri Mar 16 00:35:40 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.291.2.2: +7 -13 lines
Diff to previous 1.291.2.2 (colored) to branchpoint 1.291 (colored)

Revert changes for the scheduler-activation syscalls.  It's not
needed, as the syscalls are already marked ENOSYS if these sys-calls
are not built-in (ie, option COMPAT_60 is not specified;  if they
are built-in, the stubs in kern_sa_60.c still return ENOSYS, so no
change.

Revision 1.291.2.2 / (download) - annotate - [select for diffs], Thu Mar 15 23:04:48 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.291.2.1: +14 -8 lines
Diff to previous 1.291.2.1 (colored) to branchpoint 1.291 (colored)

Update the compat_60 entries to reference the compat_60 module.

While here, allow the scheduler-activation syscalls to autoload the
compat_60 module.

Revision 1.291.2.1 / (download) - annotate - [select for diffs], Sat Mar 10 05:09:24 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.291: +10 -10 lines
Diff to previous 1.291 (colored)

Update module name for sysv_ipc compat syscalls.

Revision 1.291 / (download) - annotate - [select for diffs], Sat Jan 6 16:41:23 2018 UTC (6 years, 3 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.290: +1 -1 lines
Diff to previous 1.290 (colored)

Revert vadvise(2) removal

This system call was used in legacy Lisp code, that was inherited to modern
age and still compiled against supported compat layers (e.g. in clisp,
oaklisp, Franz Lisp).

It used to instruct the kernel about paging policy (G/C aware, flush etc).

Newly compiled code (assuming that it will detect vadvise()) will use the
libc stub for vadvise(). The headers for this interface are gone.

vadvise(2) could be marked as COMPAT_80, but as long as we support ultrix,
sunos or aout68k ABI, don't bother with this.

Requested by <mrg>

Revision 1.290 / (download) - annotate - [select for diffs], Tue Dec 19 19:40:03 2017 UTC (6 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.289: +2 -2 lines
Diff to previous 1.289 (colored)

Drop SYS_vadvise

The (o)vadvise syscall is dummy since the beginning of NetBSD.

It is an obsolete remnant from the old UNIX.

Sponsored by <The NetBSD Foundation>

Revision 1.289 / (download) - annotate - [select for diffs], Tue Dec 19 18:34:47 2017 UTC (6 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.288: +2 -2 lines
Diff to previous 1.288 (colored)

Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by <The NetBSD Foundation>

Revision 1.288 / (download) - annotate - [select for diffs], Tue Dec 19 08:48:19 2017 UTC (6 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.287: +2 -2 lines
Diff to previous 1.287 (colored)

Drop the sstk(2) syscall stub

sstk - change stack section size

This functionality has never been implemented and is a remnant from 16-bit
UNIX. This stub appeared with the first NetBSD commit.

Sponsored by <The NetBSD Foundation>

Revision 1.287 / (download) - annotate - [select for diffs], Fri Dec 8 01:19:29 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.286: +2 -2 lines
Diff to previous 1.286 (colored)

make _lwp_park return the remaining time to sleep in the "ts" argument
if it is a relative timestamp, as discussed in tech-kern.
XXX: pullup-8

Revision 1.260.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:45 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.260.2.3: +265 -227 lines
Diff to previous 1.260.2.3 (colored) next main 1.261 (colored)

update from HEAD

Revision 1.270.4.8 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:26 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.270.4.7: +4 -3 lines
Diff to previous 1.270.4.7 (colored) to branchpoint 1.270 (colored) next main 1.271 (colored)

Sync with HEAD

Revision 1.285.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:17 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.285: +4 -3 lines
Diff to previous 1.285 (colored) next main 1.286 (colored)

Sync with HEAD

Revision 1.286 / (download) - annotate - [select for diffs], Wed Nov 2 00:11:59 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.285: +4 -3 lines
Diff to previous 1.285 (colored)

* Split sys/kern/sys_process.c into three parts:
        1 - ptrace(2) syscall for native emulation
        2 - common ptrace(2) syscall code (shared with compat_netbsd32)
        3 - support routines that are shared with PROCFS and/or KTRACE

* Add module glue for #1 and #2.  Both modules will be built-in to the
  kernel if "options PTRACE" is included in the config file (this is
  the default, defined in sys/conf/std).

* Mark the ptrace(2) syscall as modular in syscalls.master (generated
  files will be committed shortly).

* Conditionalize all remaining portions of PTRACE code on a new kernel
  option PTRACE_HOOKS.

XXX Instead of PROCFS depending on 'options PTRACE', we should probably
    just add a procfs attribute to the sys/kern/sys_process.c file's
    entry in files.kern, and add PROCFS to the "#if defineds" for
    process_domem().  It's really confusing to have two different ways
    of requiring this file.

Revision 1.270.4.7 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:20 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.270.4.6: +2 -2 lines
Diff to previous 1.270.4.6 (colored) to branchpoint 1.270 (colored)

Sync with HEAD

Revision 1.285 / (download) - annotate - [select for diffs], Sun Jul 3 14:24:59 2016 UTC (7 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.284: +2 -2 lines
Diff to previous 1.284 (colored)

GSoC 2016 Charles Cui: Implement thread priority protection based on work
by Andy Doran. Also document the get/set pshared thread calls as not
implemented, and add a skeleton implementation that is disabled.
XXX: document _sched_protect(2).

Revision 1.270.4.6 / (download) - annotate - [select for diffs], Sun May 29 08:44:37 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.270.4.5: +3 -1 lines
Diff to previous 1.270.4.5 (colored) to branchpoint 1.270 (colored)

Sync with HEAD

Revision 1.284 / (download) - annotate - [select for diffs], Sat Apr 23 23:08:26 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.283: +3 -1 lines
Diff to previous 1.283 (colored)

Add clock_getcpuclockid2(2) as well as CLOCK_{PROCESS,THREAD}_CPUTIME_ID.

Revision 1.270.4.5 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:16 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.270.4.4: +5 -1 lines
Diff to previous 1.270.4.4 (colored) to branchpoint 1.270 (colored)

Sync with HEAD

Revision 1.283 / (download) - annotate - [select for diffs], Sun Apr 3 01:00:26 2016 UTC (8 years ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422
Changes since 1.282: +2 -1 lines
Diff to previous 1.282 (colored)

include <sys/idtype.h>

Revision 1.282 / (download) - annotate - [select for diffs], Sat Apr 2 21:01:32 2016 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.281: +4 -1 lines
Diff to previous 1.281 (colored)

add wait6

Revision 1.270.4.4 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:05 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.270.4.3: +11 -23 lines
Diff to previous 1.270.4.3 (colored) to branchpoint 1.270 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.281 / (download) - annotate - [select for diffs], Thu Dec 3 02:51:00 2015 UTC (8 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.280: +10 -10 lines
Diff to previous 1.280 (colored)

Merge the compat_sysv module into the sysv_ipc module - it should
never have been a separate module in the first place (my bad).

Adjust dependencies as appropriate.

Revision 1.280 / (download) - annotate - [select for diffs], Sat Oct 10 03:27:30 2015 UTC (8 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.279: +1 -13 lines
Diff to previous 1.279 (colored)

Correctly mark syscalls 301, 302, 303 so that they will autoload the
compat_sysv module if not already built-in.

Revision 1.279 / (download) - annotate - [select for diffs], Fri Oct 2 19:47:08 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.278: +2 -2 lines
Diff to previous 1.278 (colored)

PR/50295: clock_nanotime() should not set errno, but return the error.

Revision 1.270.4.3 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:07 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.270.4.2: +4 -4 lines
Diff to previous 1.270.4.2 (colored) to branchpoint 1.270 (colored)

Sync with HEAD

Revision 1.278 / (download) - annotate - [select for diffs], Thu Jun 18 15:16:12 2015 UTC (8 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.277: +4 -4 lines
Diff to previous 1.277 (colored)

+RUMP to __posix_{,f,l}chown.  at least python wants them.

Revision 1.270.4.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:22 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.270.4.1: +250 -207 lines
Diff to previous 1.270.4.1 (colored) to branchpoint 1.270 (colored)

Sync with HEAD

Revision 1.277 / (download) - annotate - [select for diffs], Wed May 13 02:10:46 2015 UTC (8 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.276: +20 -51 lines
Diff to previous 1.276 (colored)

Update syscalls to point to the new module. (Regen of dependant
files to follow.)

Revision 1.276 / (download) - annotate - [select for diffs], Sun May 10 07:41:15 2015 UTC (8 years, 11 months ago) by pgoyette
Branch: MAIN
Changes since 1.275: +10 -10 lines
Diff to previous 1.275 (colored)

Split the SYSV* compat code out into a separate compat_sysv module.

For monolithic kernels, both modules will be compiled as "built-ins",
while modular environments will be able to load the SYSVSEM, SYSVSHM,
and SYSVMSG code independant from the rest of compat.

This is a necessary precursor step to making the "STD" SYSV* code
into a separate module.

Tested in both monolithic and modular environments with no errors
seen.

Revision 1.275 / (download) - annotate - [select for diffs], Sat May 9 06:04:13 2015 UTC (8 years, 11 months ago) by pgoyette
Branch: MAIN
Changes since 1.274: +1 -1 lines
Diff to previous 1.274 (colored)

Remove extraneous word 'compat' on header line

Revision 1.274 / (download) - annotate - [select for diffs], Sat May 9 05:51:26 2015 UTC (8 years, 11 months ago) by pgoyette
Branch: MAIN
Changes since 1.273: +230 -156 lines
Diff to previous 1.273 (colored)

Teach makesyscalls.sh how to auto-generate the list of syscalls that
can be resolved by module auto-load.

Update syscalls.master to identify the specific module that contains
the auto-loadable code for each syscall.

Revision 1.254.2.1 / (download) - annotate - [select for diffs], Tue Apr 14 15:03:38 2015 UTC (9 years ago) by msaitoh
Branch: netbsd-6
Changes since 1.254: +2 -2 lines
Diff to previous 1.254 (colored) next main 1.255 (colored)

Pull up following revision(s) (requested by khorben in ticket #1264):

include/unistd.h				1.144
sys/kern/init_sysent.c				regen
sys/kern/syscalls.c				regen
sys/kern/syscalls.master			1.272
sys/rump/include/rump/rump_syscalls.h		regen
sys/rump/librump/rumpkern/rump_syscalls.c	regen
sys/sys/syscall.h				regen
sys/sys/syscallargs.h				regen
sys/compat/netbds32/netbsd32_syscall.h		regen
sys/compat/netbds32/netbsd32_syscallargs.h	regen
sys/compat/netbds32/netbsd32_syscalls.c		regen
sys/compat/netbds32/netbsd32_sysent.c		regen
sys/compat/netbsd32/syscalls.master		1.102

	Fix return type of the readlinkat(2) syscall. PR#49684.

Revision 1.273 / (download) - annotate - [select for diffs], Wed Apr 8 13:24:25 2015 UTC (9 years ago) by justin
Branch: MAIN
Changes since 1.272: +2 -2 lines
Diff to previous 1.272 (colored)

Add __posix_rename as a rump syscall

Revision 1.270.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:20 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.270: +3 -3 lines
Diff to previous 1.270 (colored)

Sync with HEAD

Revision 1.270.2.1 / (download) - annotate - [select for diffs], Tue Feb 24 10:47:17 2015 UTC (9 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.270: +2 -2 lines
Diff to previous 1.270 (colored) next main 1.271 (colored)

Pull up following revision(s) (requested by khorben in ticket #547):
	include/unistd.h: revision 1.144
	sys/kern/syscalls.master: revision 1.272

PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong.

Revision 1.272 / (download) - annotate - [select for diffs], Sun Feb 22 00:50:30 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.271: +2 -2 lines
Diff to previous 1.271 (colored)

PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong.

Revision 1.271 / (download) - annotate - [select for diffs], Tue Feb 10 15:07:39 2015 UTC (9 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.270: +2 -2 lines
Diff to previous 1.270 (colored)

Mark posix_fallocate as NOERR

Revision 1.260.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:29 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.260.2.2: +37 -33 lines
Diff to previous 1.260.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.267.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:58 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.267: +16 -12 lines
Diff to previous 1.267 (colored) next main 1.268 (colored)

Rebase.

Revision 1.270 / (download) - annotate - [select for diffs], Fri Jul 25 08:25:47 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.269: +5 -1 lines
Diff to previous 1.269 (colored)

Add fdiscard and posix_fallocate syscalls.

Revision 1.269 / (download) - annotate - [select for diffs], Thu Jun 12 21:41:33 2014 UTC (9 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.268: +3 -3 lines
Diff to previous 1.268 (colored)

Avoid using C++ keywords as argument name.

Revision 1.252.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:03 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.252.2.3: +36 -33 lines
Diff to previous 1.252.2.3 (colored) to branchpoint 1.252 (colored) next main 1.253 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.262.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:07 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.262: +32 -32 lines
Diff to previous 1.262 (colored) next main 1.263 (colored)

sync with head

Revision 1.268 / (download) - annotate - [select for diffs], Wed Apr 9 23:55:37 2014 UTC (10 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.267: +10 -10 lines
Diff to previous 1.267 (colored)

rump kernel wrappers for aio syscalls

Revision 1.267 / (download) - annotate - [select for diffs], Fri Mar 14 00:52:08 2014 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.266: +16 -16 lines
Diff to previous 1.266 (colored)

Add rump kernel syscall wrapper flag for a bunch of time-related
syscalls (nanosleep, clock_gettime, etc.).  These are mostly intended
for situations where a rump kernel runs on an OS-less host.

Revision 1.266 / (download) - annotate - [select for diffs], Wed Dec 11 09:40:56 2013 UTC (10 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.265: +2 -2 lines
Diff to previous 1.265 (colored)

create rump kernel wrapper for utrace() too

Revision 1.265 / (download) - annotate - [select for diffs], Mon Dec 9 17:13:17 2013 UTC (10 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.264: +3 -3 lines
Diff to previous 1.264 (colored)

Create rump kernel wrappers for {f,}ktrace

Revision 1.264 / (download) - annotate - [select for diffs], Thu Oct 17 18:01:11 2013 UTC (10 years, 5 months ago) by njoly
Branch: MAIN
Changes since 1.263: +2 -2 lines
Diff to previous 1.263 (colored)

Change mknodat(2) device argument type from uint32_t to dev_t.
Adds needed extra PAD argument for 64bit alignment, and libc wrapper.

Revision 1.263 / (download) - annotate - [select for diffs], Fri Aug 30 10:33:10 2013 UTC (10 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.262: +4 -4 lines
Diff to previous 1.262 (colored)

There is absolutely no way that fexecve() could even theoretically work
in a rump kernel, so don't create a wrapper for that.

recv/sendmmsg(), however, can, so create wrappers for those.

Revision 1.260.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:58 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.260.2.1: +5 -2 lines
Diff to previous 1.260.2.1 (colored)

resync from head

Revision 1.262 / (download) - annotate - [select for diffs], Fri Mar 29 01:08:17 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.261: +5 -2 lines
Diff to previous 1.261 (colored)

Centralize the computation of struct timespec to the int timo.
Make lwp_park take the regular arguments for specifying what kind
of timeout we supply like clock_nanosleep(), namely clockid_t and flags.

Revision 1.260.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:44 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.260: +4 -1 lines
Diff to previous 1.260 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.252.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:35 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.252.2.2: +12 -5 lines
Diff to previous 1.252.2.2 (colored) to branchpoint 1.252 (colored)

sync with head

Revision 1.261 / (download) - annotate - [select for diffs], Tue Oct 2 01:44:28 2012 UTC (11 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Changes since 1.260: +4 -1 lines
Diff to previous 1.260 (colored)

kernel portion of clock_nanosleep()

Revision 1.260 / (download) - annotate - [select for diffs], Fri Jun 22 18:26:35 2012 UTC (11 years, 9 months ago) by christos
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.259: +9 -5 lines
Diff to previous 1.259 (colored)

Add {send,recv}mmsg from Linux

Revision 1.252.6.4 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:34 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.252.6.3: +3 -1 lines
Diff to previous 1.252.6.3 (colored) to branchpoint 1.252 (colored) next main 1.253 (colored)

sync to latest -current.

Revision 1.252.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:12 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.252.2.1: +4 -2 lines
Diff to previous 1.252.2.1 (colored) to branchpoint 1.252 (colored)

sync with head.

Revision 1.259 / (download) - annotate - [select for diffs], Sat May 5 19:37:37 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.258: +4 -2 lines
Diff to previous 1.258 (colored)

Add a new type of syscall "EXTERN" which is meant for modules that live
outside the tree (in pkgsrc). Use it to define afssys (210) which has
been reserved for years, and make it autoload the "openafs" module.

Revision 1.252.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:29 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.252: +19 -12 lines
Diff to previous 1.252 (colored)

sync with head

Revision 1.252.6.3 / (download) - annotate - [select for diffs], Sun Mar 11 01:52:30 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.252.6.2: +2 -1 lines
Diff to previous 1.252.6.2 (colored) to branchpoint 1.252 (colored)

sync to latest -current

Revision 1.258 / (download) - annotate - [select for diffs], Thu Mar 8 21:55:45 2012 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7
Changes since 1.257: +3 -2 lines
Diff to previous 1.257 (colored)

Add entry for _ksem_timedwait.

Revision 1.252.6.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:48 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.252.6.1: +8 -9 lines
Diff to previous 1.252.6.1 (colored) to branchpoint 1.252 (colored)

sync to -current.

Revision 1.257 / (download) - annotate - [select for diffs], Sun Feb 19 17:50:28 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.256: +3 -4 lines
Diff to previous 1.256 (colored)

Use void * instead of sa_upcall_t for sa_register (since sa_upcall_t is
going away).

Revision 1.256 / (download) - annotate - [select for diffs], Sun Feb 19 17:22:16 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.255: +10 -8 lines
Diff to previous 1.255 (colored)

Make SA syscalls as COMPAT_60

Revision 1.255 / (download) - annotate - [select for diffs], Sun Feb 19 17:08:02 2012 UTC (12 years, 1 month ago) by rmind
Branch: MAIN
Changes since 1.254: +6 -8 lines
Diff to previous 1.254 (colored)

Make SA calls obsolete (use stubs in kern case, as libc needs them for now).

Revision 1.252.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:33 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.252: +10 -3 lines
Diff to previous 1.252 (colored)

merge to -current.

Revision 1.254 / (download) - annotate - [select for diffs], Sat Feb 11 23:16:17 2012 UTC (12 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.253: +6 -1 lines
Diff to previous 1.253 (colored)

Add a posix_spawn syscall, as discussed on tech-kern.
Based on the summer of code project by Charles Zhang, heavily reworked
later by me - all bugs are likely mine.
Ok: core, releng.

Revision 1.253 / (download) - annotate - [select for diffs], Wed Feb 1 05:34:41 2012 UTC (12 years, 2 months ago) by dholland
Branch: MAIN
Changes since 1.252: +5 -3 lines
Diff to previous 1.252 (colored)

Change the syscall API for quotas over to the new non-proplib one.

   - struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.

Revision 1.211.4.1 / (download) - annotate - [select for diffs], Sat Sep 17 18:47:46 2011 UTC (12 years, 6 months ago) by bouyer
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.211: +57 -1 lines
Diff to previous 1.211 (colored) next main 1.212 (colored)

Pull up following revision(s) (requested by manu in ticket #1658):
	sys/rump/include/rump/rump_syscalls.h: revision 1.52 via patch
	sys/kern/init_sysent.c: revision 1.257 via patch
	sys/rump/include/rump/rumpvnode_if.h: revision 1.12 via patch
	lib/libc/sys/Makefile.inc: revision 1.208 via patch
	sys/sys/syscallargs.h: revision 1.227 via patch
	sys/kern/kern_exec.c: revision 1.317 via patch
	sys/rump/librump/rumpkern/rump_syscalls.c: revision 1.74 via patch
	include/limits.h: revision 1.30 via patch
	sys/kern/syscalls.master: revision 1.251 via patch
	sys/sys/vnode_if.h: revision 1.83 via patch
	sys/sys/fcntl.h: revision 1.40 via patch
	sys/sys/fcntl.h: revision 1.41 via patch
	sys/kern/vfs_syscalls.c: revision 1.433 via patch
	sys/rump/librump/rumpvfs/rumpvnode_if.c: revision 1.11 via patch
	sys/kern/syscalls.c: revision 1.248 via patch
	sys/sys/syscall.h: revision 1.244 via patch
	lib/libc/sys/link.2: revision 1.25 via patch
	include/unistd.h: revision 1.127 via patch
	distrib/sets/lists/comp/mi: revision 1.1659 via patch
	sys/sys/stat.h: revision 1.61 via patch
First stage of support for Extended API set 2. Most of the think is
unimplemented, except enough of linkat(2) to hardlink to a symlink.
Everything new in headers is guarded #ifdef _INCOMPLETE_XOPEN_C063 since
some software (e.g.: xcvs in our own tree) will assume they can use openat(2)
when AT_FDCWD is defined. _INCOMPLETE_XOPEN_C063 will go away once support
will be completed.
regen
improve comment about AT_* defines: they are not only used by linkat(2)
Add macros to hide OpenGroup extened API set 2 from GNU configure. This
is a temporary  workaround until the implementation is completed.

Revision 1.252 / (download) - annotate - [select for diffs], Wed Aug 17 07:22:34 2011 UTC (12 years, 7 months ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.251: +3 -1 lines
Diff to previous 1.251 (colored)

Add futimens(2) and part of utimnsat(2)

Revision 1.251 / (download) - annotate - [select for diffs], Mon Aug 8 12:08:53 2011 UTC (12 years, 8 months ago) by manu
Branch: MAIN
Changes since 1.250: +31 -1 lines
Diff to previous 1.250 (colored)

First stage of support for Extended API set 2. Most of the think is
unimplemented, except enough of linkat(2) to hardlink to a symlink.

Everything new in headers is guarded #ifdef _INCOMPLETE_XOPEN_C063 since
some software (e.g.: xcvs in our own tree) will assume they can use openat(2)
when AT_FDCWD is defined. _INCOMPLETE_XOPEN_C063 will go away once support
will be completed.

Revision 1.250 / (download) - annotate - [select for diffs], Mon Jul 18 11:28:24 2011 UTC (12 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.249: +4 -4 lines
Diff to previous 1.249 (colored)

make the data arguments of *setxattr(2) const, as in Linux
(is this an official NetBSD API or should it be COMPAT_LINUX only?)

Revision 1.249 / (download) - annotate - [select for diffs], Sun Jun 26 17:05:24 2011 UTC (12 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.248: +21 -14 lines
Diff to previous 1.248 (colored)

- syscalls that takes socklen_t arguments should do so.
- add pipe2, dup3, paccept, kqueue1

Revision 1.240.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:37 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.240: +35 -32 lines
Diff to previous 1.240 (colored) next main 1.241 (colored)

Sync with HEAD.

Revision 1.232.2.4 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:10 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.232.2.3: +3 -1 lines
Diff to previous 1.232.2.3 (colored) to branchpoint 1.232 (colored) next main 1.233 (colored)

sync with head

Revision 1.248 / (download) - annotate - [select for diffs], Wed Mar 9 22:12:45 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.247: +2 -2 lines
Diff to previous 1.247 (colored)

actually, revert previous for now.  quotactl doesn't play with the
same rules as all the other compat functions.

Revision 1.247 / (download) - annotate - [select for diffs], Wed Mar 9 21:52:31 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.246: +2 -2 lines
Diff to previous 1.246 (colored)

mark old quotactl rump too

Revision 1.246 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:36 2011 UTC (13 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.245: +4 -2 lines
Diff to previous 1.245 (colored)

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.232.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:23 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.232.2.2: +50 -48 lines
Diff to previous 1.232.2.2 (colored) to branchpoint 1.232 (colored)

sync with head

Revision 1.242.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:40 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.242.2.2: +14 -13 lines
Diff to previous 1.242.2.2 (colored) next main 1.243 (colored)

Sync with HEAD

Revision 1.245 / (download) - annotate - [select for diffs], Mon Feb 21 23:20:19 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.244: +12 -11 lines
Diff to previous 1.244 (colored)

Add syscall type NOERR which signals that a system call is STD but
does not return an errno the usual way.  The main use case is to
fix the posix_fadvise() rump stub (yes, posix_fadvise is a bit
special... bologna).

The list of NOERR syscalls currently matches the libc NOERR list
(and the libc Makefile can in the future be autogenerated from this
info).

Problem spotted by, *shocker*, the automated test runs, specifically
the posix_fadvise test.

Revision 1.244 / (download) - annotate - [select for diffs], Mon Feb 21 12:49:06 2011 UTC (13 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.243: +3 -3 lines
Diff to previous 1.243 (colored)

somehow i've missed preadv/pwritev from rump-relevant syscalls

Revision 1.242.2.2 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:59 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.242.2.1: +7 -7 lines
Diff to previous 1.242.2.1 (colored)

Sync with HEAD

Revision 1.243 / (download) - annotate - [select for diffs], Mon Jan 31 00:05:29 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.242: +7 -7 lines
Diff to previous 1.242 (colored)

make syscalls match documentation as far as pid_t goes.

Revision 1.242.2.1 / (download) - annotate - [select for diffs], Thu Jan 20 14:24:57 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.242: +4 -2 lines
Diff to previous 1.242 (colored)

Snapshot of work in progress on a modernised disk quota system:
- new quotactl syscall (versionned for backward compat), which takes
  as parameter a path to a mount point, and a prop_dictionary
  (in plistref format) describing commands and arguments.
  For each command, status and data are returned as a prop_dictionary.
  quota commands features will be added to take advantage of this,
  exporting quota data or getting quota commands as plists.

- new on disk-format storage (all 64bit wide), integrated to metadata for
  ffs (and playing nicely with wapbl).
  Quotas are enabled on a ffs filesystem via superblock flags.
  tunefs(8) can enable or disable quotas.
  On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid
  block and inode usages, and will check and update quotas in Pass 6.
  quota usage and limits are stored in unliked files (one for users,
  one for groups)l fsck_ffs(8) will create the files if needed, or
  free them if needed. This means that after enabling or disabling
  quotas on a filesystem; a fsck_ffs(8) run is required.
  quotacheck(8) is not needed any more, on a unclean shutdown
  fsck or journal replay will take care of fixing quotas.
  newfs(8) can create a ready-to-mount quota-enabled filesystem
  (superblock flags are set and quota inodes are created).
  Other new features or semantic changes:
  - default quota datas, applied to users or groups which don't already
    have a quota entry
  - per-user/group grace time (instead of a filesystem global one)
  - 0 really means "nothing allowed at all", not "no limit".
    If you want "no limit", set the limit to UQUAD_MAX (tools will
    understand "unlimited" and "-")

  A quota file is structured as follow:
  it starts with a header, containing a few per-filesystem values,
  and the default quota limits.
  Quota entries are linked together as a simple list, each entry has a
  pointer (as an offset withing the file) to the next.
  The header has a pointer to a list of free quota entries, and
  a hash table of in-use entries. The size of the hash table depends
  on the filesystem block size (header+hash table should fit in the
  first block). The file is not sparse and is a multiple of
  filesystem block size (when the free quota entry list is empty a new
  filesystem block is allocated). quota entries to not cross
  filesystem block boundaries.

  In memory, the kernel keeps a cache of recently used quota entries
  as a reference to the block number, and offset withing the block.
  The quota entry itself is keept in the buf cache.

fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with
related atf tests :)
The kernel can update disk usage and report it via quotactl(2).

Todo: enforce quotas limits (limits are not checked by kernel yet)
      update repquota, edquota and rpc.rquotad to the new world
      implement compat_50_quotactl ioctl.
      update quotactl(2) man page

fsck_ffs required fixes so that allocating new blocks or inodes will
properly update the superblock and cg sumaries. This was not an issue up
to now because superblock and cg sumaries check happened last, but now
allocations or frees can happen in pass 6.

Revision 1.242 / (download) - annotate - [select for diffs], Mon Jan 17 18:24:17 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.241: +4 -4 lines
Diff to previous 1.241 (colored)

Missed pselect50 in previous (file was open in editor ... d0h).
Add mknod50 and fhstat50 too.

Revision 1.241 / (download) - annotate - [select for diffs], Mon Jan 17 16:21:40 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.240: +10 -10 lines
Diff to previous 1.240 (colored)

Mark a few 5.0 COMPAT syscalls as RUMP now that it's possible

Revision 1.240 / (download) - annotate - [select for diffs], Mon Jan 10 04:39:18 2011 UTC (13 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr
Changes since 1.239: +3 -2 lines
Diff to previous 1.239 (colored)

implement sigqueueinfo

Revision 1.239 / (download) - annotate - [select for diffs], Thu Nov 11 14:47:41 2010 UTC (13 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.238: +2 -2 lines
Diff to previous 1.238 (colored)

rump posix_fadvise()

Revision 1.231.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:29 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.231.2.2: +24 -24 lines
Diff to previous 1.231.2.2 (colored) to branchpoint 1.231 (colored) next main 1.232 (colored)

Sync with HEAD (-D20101022).

Revision 1.200.2.6 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:32 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.200.2.5: +25 -25 lines
Diff to previous 1.200.2.5 (colored) to branchpoint 1.200 (colored) next main 1.201 (colored)

sync with head

Revision 1.238 / (download) - annotate - [select for diffs], Tue Sep 7 17:10:08 2010 UTC (13 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.237: +2 -2 lines
Diff to previous 1.237 (colored)

getcwd for rump

Revision 1.237 / (download) - annotate - [select for diffs], Mon Sep 6 20:00:09 2010 UTC (13 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.236: +2 -2 lines
Diff to previous 1.236 (colored)

rump umask

Revision 1.236 / (download) - annotate - [select for diffs], Mon Aug 30 10:32:54 2010 UTC (13 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.235: +23 -23 lines
Diff to previous 1.235 (colored)

RUMP syscalls for kern_prot.c interfaces

Revision 1.231.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:32 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.231.2.1: +11 -11 lines
Diff to previous 1.231.2.1 (colored) to branchpoint 1.231 (colored)

Sync with HEAD.

Revision 1.200.2.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:43 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.200.2.4: +14 -14 lines
Diff to previous 1.200.2.4 (colored) to branchpoint 1.200 (colored)

sync with head.

Revision 1.232.2.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:55 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.232.2.1: +12 -12 lines
Diff to previous 1.232.2.1 (colored) to branchpoint 1.232 (colored)

sync with head

Revision 1.235 / (download) - annotate - [select for diffs], Thu Jun 10 19:09:03 2010 UTC (13 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.234: +10 -10 lines
Diff to previous 1.234 (colored)

rump stubs for _ksem*

Revision 1.234 / (download) - annotate - [select for diffs], Fri Jun 4 16:32:00 2010 UTC (13 years, 10 months ago) by njoly
Branch: MAIN
Changes since 1.233: +3 -3 lines
Diff to previous 1.233 (colored)

Rumpify pathconf(2)/fpathconf(2)

ok from pooka@

Revision 1.232.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:58 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.232: +3 -3 lines
Diff to previous 1.232 (colored)

sync with head

Revision 1.231.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:13 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.231: +7 -20 lines
Diff to previous 1.231 (colored)

Sync with HEAD.

Revision 1.233 / (download) - annotate - [select for diffs], Wed Apr 21 16:17:04 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.232: +3 -3 lines
Diff to previous 1.232 (colored)

make get/setrlimit as rump-capable

Revision 1.211.8.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:18 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.211: +353 -353 lines
Diff to previous 1.211 (colored) next main 1.212 (colored)

sync to netbsd-5

Revision 1.200.2.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:19 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.200.2.3: +7 -20 lines
Diff to previous 1.200.2.3 (colored) to branchpoint 1.200 (colored)

sync with head

Revision 1.232 / (download) - annotate - [select for diffs], Tue Mar 2 19:34:26 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.231: +5 -18 lines
Diff to previous 1.231 (colored)

Make lfs syscalls loadable.  This nukes fs_lfs.h & #ifdef LFS.
(I don't mind if someone wants to go further and OBSOL them).

Revision 1.231 / (download) - annotate - [select for diffs], Thu Nov 26 17:20:20 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.230: +2 -2 lines
Diff to previous 1.230 (colored)

pipe +RUMP

Revision 1.230 / (download) - annotate - [select for diffs], Thu Nov 26 09:00:45 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.229: +2 -2 lines
Diff to previous 1.229 (colored)

modctl +RUMP

Revision 1.200.2.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:17 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.200.2.2: +13 -13 lines
Diff to previous 1.200.2.2 (colored) to branchpoint 1.200 (colored)

sync with head.

Revision 1.222.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:35 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.222.2.1: +25 -22 lines
Diff to previous 1.222.2.1 (colored) next main 1.223 (colored)

Sync with HEAD.

Revision 1.229 / (download) - annotate - [select for diffs], Tue Jul 21 23:59:00 2009 UTC (14 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.228: +3 -3 lines
Diff to previous 1.228 (colored)

+fhopen, +fhstatvfs1 RUMP

Revision 1.228 / (download) - annotate - [select for diffs], Sun Jul 19 02:50:44 2009 UTC (14 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.227: +11 -11 lines
Diff to previous 1.227 (colored)

Make POSIX message queues a kernel module.

Revision 1.200.2.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:48 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.200.2.1: +13 -10 lines
Diff to previous 1.200.2.1 (colored) to branchpoint 1.200 (colored)

sync with head

Revision 1.227 / (download) - annotate - [select for diffs], Fri May 15 15:51:27 2009 UTC (14 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4
Changes since 1.226: +13 -10 lines
Diff to previous 1.226 (colored)

Use argname PAD to signal that an argument is used only for padding
and not part of the C interface.  Use this information for rump
syscalls to generate syscall interfaces without the extra parameter.

Revision 1.222.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:57 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.222: +58 -57 lines
Diff to previous 1.222 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.200.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:48 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.200: +522 -465 lines
Diff to previous 1.200 (colored)

sync with head.

Revision 1.211.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:00 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.211.2.2: +57 -57 lines
Diff to previous 1.211.2.2 (colored) to branchpoint 1.211 (colored) next main 1.212 (colored)

Sync with HEAD.

Revision 1.226 / (download) - annotate - [select for diffs], Sat Mar 28 16:33:40 2009 UTC (15 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.225: +55 -55 lines
Diff to previous 1.225 (colored)

mark a bunch of syscalls as RUMP

Revision 1.225 / (download) - annotate - [select for diffs], Thu Mar 19 09:08:35 2009 UTC (15 years ago) by pooka
Branch: MAIN
Changes since 1.224: +2 -2 lines
Diff to previous 1.224 (colored)

make mount() a rump call

Revision 1.224 / (download) - annotate - [select for diffs], Wed Mar 18 17:51:17 2009 UTC (15 years ago) by pooka
Branch: MAIN
Changes since 1.223: +3 -3 lines
Diff to previous 1.223 (colored)

kqueue and kevent for rump

Revision 1.211.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:56 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.211.2.1: +10 -9 lines
Diff to previous 1.211.2.1 (colored) to branchpoint 1.211 (colored)

Sync with HEAD.

Revision 1.223 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:04 2009 UTC (15 years, 2 months ago) by apb
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.222: +2 -1 lines
Diff to previous 1.222 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.222 / (download) - annotate - [select for diffs], Mon Jan 26 12:20:05 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.221: +9 -9 lines
Diff to previous 1.221 (colored)

Tag a few more socket syscalls with RUMP:
recvmsg, sendmsg, recvfrom, getpeername, getsockname, sendto,
shutdown, socketpair

Revision 1.211.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:39 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.211: +511 -461 lines
Diff to previous 1.211 (colored)

Sync with HEAD.

Revision 1.189.6.6 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.189.6.5: +517 -462 lines
Diff to previous 1.189.6.5 (colored) to branchpoint 1.189 (colored) next main 1.190 (colored)

Sync with HEAD.

Revision 1.221 / (download) - annotate - [select for diffs], Tue Jan 13 22:27:44 2009 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.220: +398 -398 lines
Diff to previous 1.220 (colored)

Convert the syscalls.master to a format from which it is easier
to parse and generate the compat name and basename (e.g. __stat50
and stat).  Use this to autogenerate __RENAME()'s to the rump_syscalls
header so that they can be called e.g. rump_sys_socket() instead
of rump_sys___socket30().

Revision 1.220 / (download) - annotate - [select for diffs], Sun Jan 11 19:40:38 2009 UTC (15 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.219: +2 -2 lines
Diff to previous 1.219 (colored)

fix lutimes.

Revision 1.219 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:53 2009 UTC (15 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.218: +177 -81 lines
Diff to previous 1.218 (colored)

merge christos-time_t

Revision 1.196.2.9 / (download) - annotate - [select for diffs], Mon Dec 29 00:03:54 2008 UTC (15 years, 3 months ago) by christos
Branch: christos-time_t
Changes since 1.196.2.8: +2 -2 lines
Diff to previous 1.196.2.8 (colored) to branchpoint 1.196 (colored) next main 1.197 (colored)

utimes needs RUMP

Revision 1.196.2.8 / (download) - annotate - [select for diffs], Sun Dec 28 22:18:11 2008 UTC (15 years, 3 months ago) by christos
Branch: christos-time_t
Changes since 1.196.2.7: +2 -2 lines
Diff to previous 1.196.2.7 (colored) to branchpoint 1.196 (colored)

no rump for old lutimes

Revision 1.196.2.7 / (download) - annotate - [select for diffs], Sat Dec 27 23:14:24 2008 UTC (15 years, 3 months ago) by christos
Branch: christos-time_t
Changes since 1.196.2.6: +10 -9 lines
Diff to previous 1.196.2.6 (colored) to branchpoint 1.196 (colored)

merge with head.

Revision 1.206.2.3 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:09 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.206.2.2: +122 -168 lines
Diff to previous 1.206.2.2 (colored) next main 1.207 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.218 / (download) - annotate - [select for diffs], Wed Nov 26 15:01:17 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.217: +7 -7 lines
Diff to previous 1.217 (colored)

RUMP some syscalls required by nfsd.

Revision 1.217 / (download) - annotate - [select for diffs], Fri Nov 21 07:34:46 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.216: +4 -3 lines
Diff to previous 1.216 (colored)

document modular.  no functional change.

Revision 1.196.2.6 / (download) - annotate - [select for diffs], Thu Nov 20 22:21:56 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.196.2.5: +3 -3 lines
Diff to previous 1.196.2.5 (colored) to branchpoint 1.196 (colored)

catch up with head.

Revision 1.196.2.5 / (download) - annotate - [select for diffs], Thu Nov 20 20:45:39 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.196.2.4: +162 -197 lines
Diff to previous 1.196.2.4 (colored) to branchpoint 1.196 (colored)

merge with head.

Revision 1.216 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:07 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.215: +85 -105 lines
Diff to previous 1.215 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.215 / (download) - annotate - [select for diffs], Fri Nov 14 23:33:45 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.214: +9 -9 lines
Diff to previous 1.214 (colored)

Make POSIX AIO loadable as a module.

Revision 1.214 / (download) - annotate - [select for diffs], Fri Nov 14 15:49:21 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.213: +9 -9 lines
Diff to previous 1.213 (colored)

Replace semid_t with intptr_t. No function change. This is a libc/kernel
private interface and so the name change should not affect any third
party code.

Revision 1.213 / (download) - annotate - [select for diffs], Wed Nov 12 14:32:34 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.212: +11 -25 lines
Diff to previous 1.212 (colored)

Allow the POSIX semaphore code to be loaded as a module.

Revision 1.212 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:16 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.211: +11 -24 lines
Diff to previous 1.211 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.196.2.4 / (download) - annotate - [select for diffs], Sun Nov 9 23:29:58 2008 UTC (15 years, 5 months ago) by christos
Branch: christos-time_t
Changes since 1.196.2.3: +2 -2 lines
Diff to previous 1.196.2.3 (colored) to branchpoint 1.196 (colored)

fix parameters of fhstat

Revision 1.196.2.3 / (download) - annotate - [select for diffs], Sun Nov 9 01:54:31 2008 UTC (15 years, 5 months ago) by christos
Branch: christos-time_t
Changes since 1.196.2.2: +5 -3 lines
Diff to previous 1.196.2.2 (colored) to branchpoint 1.196 (colored)

fix fhstat
make major and minor ull

Revision 1.196.2.2 / (download) - annotate - [select for diffs], Sat Nov 1 21:22:27 2008 UTC (15 years, 5 months ago) by christos
Branch: christos-time_t
Changes since 1.196.2.1: +378 -373 lines
Diff to previous 1.196.2.1 (colored) to branchpoint 1.196 (colored)

Sync with head.

Revision 1.206.2.2 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:28 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.206.2.1: +843 -0 lines
Diff to previous 1.206.2.1 (colored)

Sync with HEAD.

Revision 1.211 / (download) - annotate - [select for diffs], Thu Oct 16 19:30:49 2008 UTC (15 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64
Changes since 1.210: +2 -2 lines
Diff to previous 1.210 (colored)

One more rump syscall: ioctl (required for interface configuration)

Revision 1.210 / (download) - annotate - [select for diffs], Wed Oct 15 13:01:15 2008 UTC (15 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.209: +5 -5 lines
Diff to previous 1.209 (colored)

Mark a few network-related calls as RUMP (needs more work)

Revision 1.209 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:20 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: MAIN
Changes since 1.208: +12 -7 lines
Diff to previous 1.208 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.189.6.5 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:53 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.189.6.4: +4 -4 lines
Diff to previous 1.189.6.4 (colored) to branchpoint 1.189 (colored)

Sync with HEAD.

Revision 1.200.4.5 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:44 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.200.4.4: +11 -11 lines
Diff to previous 1.200.4.4 (colored) to branchpoint 1.200 (colored) next main 1.201 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.208 / (download) - annotate - [select for diffs], Fri Aug 1 19:32:35 2008 UTC (15 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.207: +2 -2 lines
Diff to previous 1.207 (colored)

rumpify sys___sysctl

Revision 1.201.2.3 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:49 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.201.2.2: +4 -4 lines
Diff to previous 1.201.2.2 (colored) to branchpoint 1.201 (colored) next main 1.202 (colored)

Sync with head.

Revision 1.207 / (download) - annotate - [select for diffs], Wed Jul 16 15:42:54 2008 UTC (15 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.206: +2 -2 lines
Diff to previous 1.206 (colored)

rumpalooza sys_fsync

Revision 1.206.2.1, Mon Jul 7 09:01:40 2008 UTC (15 years, 9 months ago) by haad
Branch: haad-dm
Changes since 1.206: +0 -838 lines
FILE REMOVED

file syscalls.master was added on branch haad-dm on 2008-10-19 22:17:28 +0000

Revision 1.206 / (download) - annotate - [select for diffs], Mon Jul 7 09:01:40 2008 UTC (15 years, 9 months ago) by pooka
Branch: MAIN
Branch point for: haad-dm
Changes since 1.205: +3 -3 lines
Diff to previous 1.205 (colored)

Expose utimes() and lutimes() to rump.

from Arnaud Ysmal

Revision 1.201.2.2 / (download) - annotate - [select for diffs], Thu Jul 3 18:38:12 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.201.2.1: +7 -7 lines
Diff to previous 1.201.2.1 (colored) to branchpoint 1.201 (colored)

Sync with head.

Revision 1.189.6.4 / (download) - annotate - [select for diffs], Wed Jul 2 19:08:20 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.189.6.3: +6 -6 lines
Diff to previous 1.189.6.3 (colored) to branchpoint 1.189 (colored)

Sync with HEAD.

Revision 1.205 / (download) - annotate - [select for diffs], Tue Jul 1 13:03:08 2008 UTC (15 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.204: +7 -7 lines
Diff to previous 1.204 (colored)

Adjust rump syscalls: remove a few pointless ones and add a few
missing ones.

Revision 1.189.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:14 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.189.6.2: +3 -2 lines
Diff to previous 1.189.6.2 (colored) to branchpoint 1.189 (colored)

Sync with HEAD.

Revision 1.200.4.4 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:51 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.200.4.3: +6 -5 lines
Diff to previous 1.200.4.3 (colored) to branchpoint 1.200 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.201.2.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:35 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.201: +4 -3 lines
Diff to previous 1.201 (colored)

Sync with head.

Revision 1.204 / (download) - annotate - [select for diffs], Tue Jun 17 16:05:23 2008 UTC (15 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.203: +2 -2 lines
Diff to previous 1.203 (colored)

Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t.

Revision 1.196.4.3 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:03 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.196.4.2: +4 -3 lines
Diff to previous 1.196.4.2 (colored) to branchpoint 1.196 (colored) next main 1.197 (colored)

sync with head.

Revision 1.203 / (download) - annotate - [select for diffs], Mon Jun 16 00:54:10 2008 UTC (15 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4
Changes since 1.202: +2 -2 lines
Diff to previous 1.202 (colored)

typo

Revision 1.202 / (download) - annotate - [select for diffs], Mon Jun 16 00:31:17 2008 UTC (15 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.201: +4 -3 lines
Diff to previous 1.201 (colored)

adjust prototypes for the affinity calls.

Revision 1.196.4.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:40 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.196.4.1: +3 -3 lines
Diff to previous 1.196.4.1 (colored) to branchpoint 1.196 (colored)

sync with head

Revision 1.189.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:12 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.189.6.1: +348 -349 lines
Diff to previous 1.189.6.1 (colored) to branchpoint 1.189 (colored)

Sync with HEAD.

Revision 1.201 / (download) - annotate - [select for diffs], Thu May 29 12:01:37 2008 UTC (15 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pf42-base3
Branch point for: simonb-wapbl
Changes since 1.200: +3 -3 lines
Diff to previous 1.200 (colored)

Mark pread/pwrite rump syscalls.

from Arnaud Ysmal

Revision 1.200.4.3 / (download) - annotate - [select for diffs], Wed May 28 15:51:19 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.200.4.2: +2 -2 lines
Diff to previous 1.200.4.2 (colored) to branchpoint 1.200 (colored)

sys_sa_unblockyield() has been obsolete since before NetBSD 2.0,
the first release with pthreads, was released. We have had three
releases that have been fine without it, so I believe it can stay
obsolete.

Revision 1.196.4.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:10 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.196: +349 -350 lines
Diff to previous 1.196 (colored)

sync with head.

Revision 1.200.4.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:14 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.200.4.1: +1 -2 lines
Diff to previous 1.200.4.1 (colored) to branchpoint 1.200 (colored)

Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.200.4.1 / (download) - annotate - [select for diffs], Sat May 10 23:49:05 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.200: +12 -6 lines
Diff to previous 1.200 (colored)

Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.200 / (download) - annotate - [select for diffs], Thu Apr 24 11:51:19 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.199: +349 -350 lines
Diff to previous 1.199 (colored)

- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations,
  all system calls are now MPSAFE.
- Remove unneeded acquire/release of kernel_lock.

Revision 1.199 / (download) - annotate - [select for diffs], Mon Apr 21 12:56:31 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.198: +10 -10 lines
Diff to previous 1.198 (colored)

Make ntp, pmc, reboot, sysarch, time syscalls MPSAFE.

Revision 1.198 / (download) - annotate - [select for diffs], Mon Apr 21 11:45:34 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.197: +5 -5 lines
Diff to previous 1.197 (colored)

Acquire kernel_lock directly in LFS syscalls.

Revision 1.197 / (download) - annotate - [select for diffs], Mon Apr 21 00:13:46 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.196: +8 -8 lines
Diff to previous 1.196 (colored)

timer fixes for PR 37093:

- Fix serious concurrency problems, making the code MT and MP safe in
  the process.
- Don't allocate memory or inspect process state from hardclock().

Revision 1.189.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:05 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.189: +44 -42 lines
Diff to previous 1.189 (colored)

Sync with HEAD.

Revision 1.196.2.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:47:01 2008 UTC (16 years ago) by christos
Branch: christos-time_t
Changes since 1.196: +144 -62 lines
Diff to previous 1.196 (colored)

Welcome to the time_t=long long dev_t=uint64_t branch.

Revision 1.196 / (download) - annotate - [select for diffs], Thu Mar 27 17:13:25 2008 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42, christos-time_t
Changes since 1.195: +3 -3 lines
Diff to previous 1.195 (colored)

Put kqueue/kevent back as MPSAFE.

Revision 1.195 / (download) - annotate - [select for diffs], Mon Mar 24 23:46:43 2008 UTC (16 years ago) by yamt
Branch: MAIN
CVS Tags: ad-socklock-base1
Changes since 1.194: +10 -10 lines
Diff to previous 1.194 (colored)

after yamt-lazymbuf merge, mark send/recv syscalls MPSAFE.
pointed out by Andrew Doran.

Revision 1.194 / (download) - annotate - [select for diffs], Mon Mar 24 12:24:37 2008 UTC (16 years ago) by yamt
Branch: MAIN
Changes since 1.193: +2 -2 lines
Diff to previous 1.193 (colored)

merge yamt-lazymbuf branch.

Revision 1.146.2.13 / (download) - annotate - [select for diffs], Mon Mar 24 09:39:02 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.12: +3 -3 lines
Diff to previous 1.146.2.12 (colored) next main 1.147 (colored)

sync with head.

Revision 1.189.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:14 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.189: +32 -30 lines
Diff to previous 1.189 (colored) next main 1.190 (colored)

sync with head.

Revision 1.176.2.4 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:01 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.176.2.3: +83 -71 lines
Diff to previous 1.176.2.3 (colored) next main 1.177 (colored)

sync with HEAD

Revision 1.193 / (download) - annotate - [select for diffs], Sat Mar 22 14:20:09 2008 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14
Changes since 1.192: +3 -3 lines
Diff to previous 1.192 (colored)

Unmark kevent/kqueue as MPSAFE. There seems to be some kind of deadlock
involving kernel_lock.

Revision 1.192 / (download) - annotate - [select for diffs], Fri Mar 21 21:58:57 2008 UTC (16 years ago) by ad
Branch: MAIN
Changes since 1.191: +3 -3 lines
Diff to previous 1.191 (colored)

Mark kqueue/kevent MPSAFE.

Revision 1.146.2.12 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:34 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.11: +29 -27 lines
Diff to previous 1.146.2.11 (colored)

sync with head.

Revision 1.191 / (download) - annotate - [select for diffs], Tue Mar 11 22:50:10 2008 UTC (16 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.190: +29 -27 lines
Diff to previous 1.190 (colored)

Generate syscalls entry points which can be called directly without
going through a syscall trap.  These are currently useful for rumps.
As all the standard syscalls are not compiled into librump, mark
relevant ones with RUMP in syscalls.master.  To do e.g. a mkdir
"system call" from a rump, one would call

  rump_sys_mkdir("/dir", mode, &eval);

where the last value represents something to store errno into.

Revision 1.146.2.11 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:56 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.10: +7 -7 lines
Diff to previous 1.146.2.10 (colored)

sync with head.

Revision 1.190 / (download) - annotate - [select for diffs], Sun Feb 24 12:52:54 2008 UTC (16 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.189: +4 -4 lines
Diff to previous 1.189 (colored)

Desupport compatibility for the old posix_fadvise syscall per yamt's
request and just ignore it.

Revision 1.177.6.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:47 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.177.6.2: +260 -250 lines
Diff to previous 1.177.6.2 (colored) to branchpoint 1.177 (colored) next main 1.178 (colored)

Sync with HEAD.

Revision 1.189 / (download) - annotate - [select for diffs], Fri Feb 15 13:09:57 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.188: +4 -4 lines
Diff to previous 1.188 (colored)

Mark mount/unmount MPSAFE. PR kern/38034.

Revision 1.146.2.10 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:58 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.9: +3 -3 lines
Diff to previous 1.146.2.9 (colored)

sync with head.

Revision 1.146.2.9 / (download) - annotate - [select for diffs], Mon Feb 11 14:44:03 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.8: +2 -2 lines
Diff to previous 1.146.2.8 (colored)

mark sys_nfssvc MPSAFE.

Revision 1.188 / (download) - annotate - [select for diffs], Sat Feb 9 16:58:01 2008 UTC (16 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.187: +3 -3 lines
Diff to previous 1.187 (colored)

from rmind@,
- revert struct sched_param changes to restore ABI.
- instead, add 'policy' arguments to _sched_{get,set}param syscalls.
  (this is an API/ABI change.)
- correct kauth_authorize_process arguments.

while i'm here,
- don't bother to kmem_alloc for 4-byte structure.

Revision 1.146.2.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:20 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.7: +29 -27 lines
Diff to previous 1.146.2.7 (colored)

sync with head.

Revision 1.187 / (download) - annotate - [select for diffs], Sun Jan 27 16:13:39 2008 UTC (16 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.186: +4 -2 lines
Diff to previous 1.186 (colored)

Version the posix_fadvise syscall and add the missing "pad" argument,
so that it does not only work on i386 (no padding) and 64bit archs (all
args padded to 64bit).

Revision 1.186 / (download) - annotate - [select for diffs], Fri Jan 25 13:38:57 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.185: +26 -26 lines
Diff to previous 1.185 (colored)

Mark the extattr syscalls MPSAFE.

Revision 1.146.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:26 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.6: +230 -222 lines
Diff to previous 1.146.2.6 (colored)

sync with head

Revision 1.180.6.3 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:26 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.180.6.2: +22 -14 lines
Diff to previous 1.180.6.2 (colored) to branchpoint 1.180 (colored) next main 1.181 (colored)

Sync with HEAD

Revision 1.185 / (download) - annotate - [select for diffs], Wed Jan 16 12:34:51 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.184: +2 -5 lines
Diff to previous 1.184 (colored)

Pull in my modules code for review/test/hacking.

Revision 1.184 / (download) - annotate - [select for diffs], Tue Jan 15 03:37:11 2008 UTC (16 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.183: +22 -11 lines
Diff to previous 1.183 (colored)

Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.

Revision 1.176.2.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:24 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.176.2.2: +214 -211 lines
Diff to previous 1.176.2.2 (colored)

sync with HEAD

Revision 1.180.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:43 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.180.6.1: +50 -50 lines
Diff to previous 1.180.6.1 (colored) to branchpoint 1.180 (colored)

Sync with HEAD

Revision 1.183 / (download) - annotate - [select for diffs], Mon Jan 7 16:15:36 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.182: +51 -51 lines
Diff to previous 1.182 (colored)

More MPSAFE syscalls.

Revision 1.180.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:16 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.180: +160 -160 lines
Diff to previous 1.180 (colored)

Sync with HEAD

Revision 1.182 / (download) - annotate - [select for diffs], Wed Jan 2 11:57:13 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.181: +160 -160 lines
Diff to previous 1.181 (colored)

Merge vmlocking2 to head.

Revision 1.180.2.10 / (download) - annotate - [select for diffs], Wed Jan 2 09:35:13 2008 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.180.2.9: +5 -5 lines
Diff to previous 1.180.2.9 (colored) to branchpoint 1.180 (colored) next main 1.181 (colored)

Put sendmsg/recvmsg back under kernel_lock for the moment.

Revision 1.180.2.9 / (download) - annotate - [select for diffs], Sat Dec 29 10:20:48 2007 UTC (16 years, 3 months ago) by yamt
Branch: vmlocking2
Changes since 1.180.2.8: +2 -2 lines
Diff to previous 1.180.2.8 (colored) to branchpoint 1.180 (colored)

to prepare merge, put nfsd back under kernel_lock for now.

Revision 1.180.2.8 / (download) - annotate - [select for diffs], Thu Dec 27 15:38:18 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.180.2.7: +26 -26 lines
Diff to previous 1.180.2.7 (colored) to branchpoint 1.180 (colored)

More MPSAFE syscalls..

Revision 1.177.6.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:13 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.177.6.1: +2 -2 lines
Diff to previous 1.177.6.1 (colored) to branchpoint 1.177 (colored)

Sync with HEAD.

Revision 1.180.2.7 / (download) - annotate - [select for diffs], Wed Dec 26 23:05:54 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.180.2.6: +10 -10 lines
Diff to previous 1.180.2.6 (colored) to branchpoint 1.180 (colored)

- Push kernel_lock back into exit, wait and sysctl system calls, mainly
  for visibility.
- Serialize calls to brk() from within the same process.
- Mark more syscalls MPSAFE.

Revision 1.180.2.6 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:45 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.180.2.5: +2 -2 lines
Diff to previous 1.180.2.5 (colored) to branchpoint 1.180 (colored)

Sync with head.

Revision 1.181 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:12 2007 UTC (16 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.180: +2 -2 lines
Diff to previous 1.180 (colored)

Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.180.2.5 / (download) - annotate - [select for diffs], Sat Dec 15 03:16:58 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.180.2.4: +12 -12 lines
Diff to previous 1.180.2.4 (colored) to branchpoint 1.180 (colored)

- Use pool_cache for a few more items and make those caches static.
- Mark another 10 syscalls MPSAFE including execve(). A small bit of
  work is required to fix a couple of issues (tty, kqueue).

Revision 1.180.2.4 / (download) - annotate - [select for diffs], Sat Dec 15 01:45:24 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.180.2.3: +4 -4 lines
Diff to previous 1.180.2.3 (colored) to branchpoint 1.180 (colored)

Mark MPSAFE: fork, kill, sync.

Revision 1.180.2.3 / (download) - annotate - [select for diffs], Wed Dec 5 21:13:05 2007 UTC (16 years, 4 months ago) by rmind
Branch: vmlocking2
Changes since 1.180.2.2: +6 -6 lines
Diff to previous 1.180.2.2 (colored) to branchpoint 1.180 (colored)

- Make SysV shared memory subsystem MP-safe;
- Replace tsleep/wakeup with condvars;
- Replace malloc with kmem;
- Avoid holding of lock while reallocating;
- Fix the check of last segment when reallocating;
- sys_shmat: unmap if uvm_map_pageable() fails;
- Few cosmetics;

Proposed on <tech-kern>.

Revision 1.180.2.2 / (download) - annotate - [select for diffs], Tue Dec 4 16:59:52 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.180.2.1: +5 -5 lines
Diff to previous 1.180.2.1 (colored) to branchpoint 1.180 (colored)

Make periphery of sendmsg/recvmsg/sendto/recvfrom MP safe.

Revision 1.180.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:18 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.180: +107 -107 lines
Diff to previous 1.180 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.177.6.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:48:55 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.177: +12 -7 lines
Diff to previous 1.177 (colored)

Sync with HEAD.

Revision 1.146.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:53 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.5: +12 -7 lines
Diff to previous 1.146.2.5 (colored)

sync with head.

Revision 1.171.6.6 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:46 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.171.6.5: +4 -3 lines
Diff to previous 1.171.6.5 (colored) to branchpoint 1.171 (colored) next main 1.172 (colored)

Sync with HEAD.

Revision 1.177.4.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:02:30 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.177: +12 -7 lines
Diff to previous 1.177 (colored) next main 1.178 (colored)

Sync with HEAD

Revision 1.180 / (download) - annotate - [select for diffs], Mon Nov 12 23:11:59 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.179: +4 -3 lines
Diff to previous 1.179 (colored)

Add _lwp_ctl() system call: provides a bidirectional, per-LWP communication
area between processes and the kernel.

Revision 1.171.6.5 / (download) - annotate - [select for diffs], Sun Nov 11 16:48:14 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.171.6.4: +10 -6 lines
Diff to previous 1.171.6.4 (colored) to branchpoint 1.171 (colored)

Sync with HEAD.

Revision 1.179 / (download) - annotate - [select for diffs], Fri Nov 9 14:57:33 2007 UTC (16 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.178: +5 -3 lines
Diff to previous 1.178 (colored)

Add the 'args' argument to sys_syscall and sys___syscall.

Revision 1.176.2.2 / (download) - annotate - [select for diffs], Thu Nov 8 11:00:08 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.176.2.1: +6 -4 lines
Diff to previous 1.176.2.1 (colored)

sync with -HEAD

Revision 1.178 / (download) - annotate - [select for diffs], Wed Nov 7 00:37:21 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.177: +6 -4 lines
Diff to previous 1.177 (colored)

Add _lwp_setname, _lwp_getname. Proposed on tech-kern.

Revision 1.176.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:32:34 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.176: +23 -11 lines
Diff to previous 1.176 (colored)

sync with HEAD

Revision 1.168.2.11 / (download) - annotate - [select for diffs], Sun Nov 4 12:09:05 2007 UTC (16 years, 5 months ago) by rmind
Branch: vmlocking
Changes since 1.168.2.10: +11 -11 lines
Diff to previous 1.168.2.10 (colored) to branchpoint 1.168 (colored) next main 1.169 (colored)

- sys_semop: remove the usage of the kernel_lock;
- Mark the POSIX message queues as MP-safe;

OK by <ad>.

Revision 1.146.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:37 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.4: +23 -11 lines
Diff to previous 1.146.2.4 (colored)

sync with head.

Revision 1.168.2.10 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:31 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.168.2.9: +23 -11 lines
Diff to previous 1.168.2.9 (colored) to branchpoint 1.168 (colored)

Sync with head.

Revision 1.171.6.4 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:05 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.171.6.3: +23 -11 lines
Diff to previous 1.171.6.3 (colored) to branchpoint 1.171 (colored)

Sync with HEAD.

Revision 1.171.2.3 / (download) - annotate - [select for diffs], Mon Sep 10 10:56:03 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.171.2.2: +23 -11 lines
Diff to previous 1.171.2.2 (colored) to branchpoint 1.171 (colored) next main 1.172 (colored)

Sync with HEAD.

Revision 1.177 / (download) - annotate - [select for diffs], Fri Sep 7 18:56:09 2007 UTC (16 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, jmcneill-base
Branch point for: mjf-devfs, bouyer-xenamd64
Changes since 1.176: +23 -11 lines
Diff to previous 1.176 (colored)

Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>

Revision 1.146.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:11 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.3: +57 -43 lines
Diff to previous 1.146.2.3 (colored)

sync with head.

Revision 1.171.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:23:04 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.171.2.1: +8 -17 lines
Diff to previous 1.171.2.1 (colored) to branchpoint 1.171 (colored)

Sync with HEAD.

Revision 1.168.2.9 / (download) - annotate - [select for diffs], Sun Aug 26 15:00:03 2007 UTC (16 years, 7 months ago) by yamt
Branch: vmlocking
Changes since 1.168.2.8: +2 -2 lines
Diff to previous 1.168.2.8 (colored) to branchpoint 1.168 (colored)

- mark nfssvc(2) MPSAFE and move the most of nfsd out of the kernel lock.
- remove unused ns_solock.
- remove some of KERNEL_LOCK/UNLOCK which are not necessary on this branch.

Revision 1.168.2.8 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:40 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.168.2.7: +21 -27 lines
Diff to previous 1.168.2.7 (colored) to branchpoint 1.168 (colored)

Sync with HEAD.

Revision 1.168.2.7 / (download) - annotate - [select for diffs], Sun Aug 19 19:22:12 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.168.2.6: +2 -2 lines
Diff to previous 1.168.2.6 (colored) to branchpoint 1.168 (colored)

Mark flock() MPSAFE.

Revision 1.171.6.3 / (download) - annotate - [select for diffs], Thu Aug 16 11:03:40 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.171.6.2: +8 -17 lines
Diff to previous 1.171.6.2 (colored) to branchpoint 1.171 (colored)

Sync with HEAD.

Revision 1.171.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:17 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.171: +14 -13 lines
Diff to previous 1.171 (colored)

Sync with HEAD.

Revision 1.176 / (download) - annotate - [select for diffs], Wed Aug 15 12:08:38 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.175: +8 -17 lines
Diff to previous 1.175 (colored)

- Update for ktrace changes.
- Mark a few more syscalls MPSAFE.

Revision 1.171.6.2 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:21 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.171.6.1: +8 -7 lines
Diff to previous 1.171.6.1 (colored) to branchpoint 1.171 (colored)

Sync with HEAD.

Revision 1.175 / (download) - annotate - [select for diffs], Tue Aug 7 19:00:42 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.174: +5 -4 lines
Diff to previous 1.174 (colored)

- Fix a bug with _lwp_park() where if the computed wakeup time was under
  1 microsecond into the future, the thread could enter an untimed sleep.
- Change the signature of _lwp_park() to accept an lwpid_t and second
  hint pointer, but do so in a way that remains compatible with older
  pthread libraries. This can be used to wake another thread before the
  calling thread goes asleep, saving at least one syscall + involuntary
  context switch. This turns out to be a fairly large win on the condvar
  benchmarks that I have tried.
- Mark some more syscalls MP safe.

Revision 1.174 / (download) - annotate - [select for diffs], Tue Aug 7 12:48:30 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.173: +3 -3 lines
Diff to previous 1.173 (colored)

wait() can't yet be MPSAFE since it's impractical to hold proclist_mutex
across exit(), and so there is a short race against cv_wait_sig(). This
can be reverted when proclist_mutex/proclist_lock merge.

Revision 1.173 / (download) - annotate - [select for diffs], Tue Aug 7 09:46:24 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.172: +2 -2 lines
Diff to previous 1.172 (colored)

gettimeofday() doesn't need locks, and MySQL seems to make heavy use of it.

Revision 1.171.6.1 / (download) - annotate - [select for diffs], Sat Aug 4 12:33:15 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.171: +7 -7 lines
Diff to previous 1.171 (colored)

Sync with HEAD.

Revision 1.172.2.2 / (download) - annotate - [select for diffs], Sat Aug 4 10:52:59 2007 UTC (16 years, 8 months ago) by ad
Branch: matt-mips64
Changes since 1.172.2.1: +817 -0 lines
Diff to previous 1.172.2.1 (colored) to branchpoint 1.172 (colored) next main 1.173 (colored)

Mark the SysV semaphore syscalls MP safe.

Revision 1.172.2.1, Sat Aug 4 10:52:58 2007 UTC (16 years, 8 months ago) by ad
Branch: matt-mips64
Changes since 1.172: +0 -817 lines
FILE REMOVED

file syscalls.master was added on branch matt-mips64 on 2007-08-04 10:52:59 +0000

Revision 1.172 / (download) - annotate - [select for diffs], Sat Aug 4 10:52:58 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64
Changes since 1.171: +7 -7 lines
Diff to previous 1.171 (colored)

Mark the SysV semaphore syscalls MP safe.

Revision 1.171 / (download) - annotate - [select for diffs], Tue Jul 17 17:42:07 2007 UTC (16 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: nick-csl-alignment-base, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.170: +4 -2 lines
Diff to previous 1.170 (colored)

Add native mremap system call based on the UVM implementation for
Linux compat. Add code to enforce alignment of the new location.
Special thanks to wizd for helping with the man page.

Revision 1.168.2.6 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:46 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.168.2.5: +10 -2 lines
Diff to previous 1.168.2.5 (colored) to branchpoint 1.168 (colored)

Sync with head.

Revision 1.170 / (download) - annotate - [select for diffs], Sat Jul 14 15:38:40 2007 UTC (16 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.169: +10 -2 lines
Diff to previous 1.169 (colored)

Add sys___mount50() that includes an extra parameter for thre data length.
Mark sys_mount() as COMPAT_40.
Hmmm... the aio calls should have started at 400, not 399.
I've left 407-409 free.

Revision 1.168.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:13 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.168: +13 -1 lines
Diff to previous 1.168 (colored) next main 1.169 (colored)

Sync with head.

Revision 1.168.2.5 / (download) - annotate - [select for diffs], Fri Jun 8 14:17:26 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.168.2.4: +13 -1 lines
Diff to previous 1.168.2.4 (colored) to branchpoint 1.168 (colored)

Sync with head.

Revision 1.165.2.3 / (download) - annotate - [select for diffs], Mon May 7 10:55:47 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.165.2.2: +13 -1 lines
Diff to previous 1.165.2.2 (colored) next main 1.166 (colored)

sync with head.

Revision 1.169 / (download) - annotate - [select for diffs], Mon Apr 30 14:44:30 2007 UTC (16 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, mjf-ufs-trans-base
Changes since 1.168: +13 -1 lines
Diff to previous 1.168 (colored)

Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>

Revision 1.168.2.4 / (download) - annotate - [select for diffs], Sun Apr 22 21:43:30 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.168.2.3: +16 -16 lines
Diff to previous 1.168.2.3 (colored) to branchpoint 1.168 (colored)

Mark SysV & POSIX semaphore system calls as MP safe.

Revision 1.168.2.3 / (download) - annotate - [select for diffs], Tue Apr 10 00:23:02 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.168.2.2: +9 -9 lines
Diff to previous 1.168.2.2 (colored) to branchpoint 1.168 (colored)

Mark another 8 syscalls MP safe, for testing.

Revision 1.168.2.2 / (download) - annotate - [select for diffs], Fri Apr 6 12:31:13 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.168.2.1: +49 -49 lines
Diff to previous 1.168.2.1 (colored) to branchpoint 1.168 (colored)

Mark another 65 syscalls as MP safe, for testing. More work is needed.

Revision 1.168.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 17:51:00 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.168: +2 -2 lines
Diff to previous 1.168 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.165.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:42 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.165.2.1: +15 -15 lines
Diff to previous 1.165.2.1 (colored)

Sync with HEAD.

Revision 1.168 / (download) - annotate - [select for diffs], Tue Mar 6 16:09:21 2007 UTC (17 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.167: +2 -2 lines
Diff to previous 1.167 (colored)

make the first argument to profil(2) char*, for consistency with <unistd.h>

Revision 1.167 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:10 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.166: +15 -15 lines
Diff to previous 1.166 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.165.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:32 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.166 / (download) - annotate - [select for diffs], Mon Feb 26 12:19:00 2007 UTC (17 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored)

sync with lwp.h: _lwp_unpark_all() returns ssize_t

Revision 1.146.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:18 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.2: +84 -88 lines
Diff to previous 1.146.2.2 (colored)

sync with head.

Revision 1.165 / (download) - annotate - [select for diffs], Sat Feb 10 11:32:21 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.164: +9 -8 lines
Diff to previous 1.164 (colored)

A quick hack to get things building again: put back the SA system calls
with no arguments, and alias them to sys_nosys. To be revisited.

Revision 1.164 / (download) - annotate - [select for diffs], Sat Feb 10 10:24:44 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.163: +5 -5 lines
Diff to previous 1.163 (colored)

Fix arguments to _lwp_park/unpark/unpark_all to match userland.

Revision 1.163 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:31 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.162: +81 -96 lines
Diff to previous 1.162 (colored)

Merge newlock2 to head.

Revision 1.159.2.7 / (download) - annotate - [select for diffs], Mon Feb 5 13:22:20 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.159.2.6: +53 -53 lines
Diff to previous 1.159.2.6 (colored) to branchpoint 1.159 (colored) next main 1.160 (colored)

Mark another 50-60 syscalls as MPSAFE.

Revision 1.159.2.6 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:38 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.159.2.5: +2 -3 lines
Diff to previous 1.159.2.5 (colored) to branchpoint 1.159 (colored)

Sync with head.

Revision 1.159.2.5 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:41 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.159.2.4: +8 -14 lines
Diff to previous 1.159.2.4 (colored) to branchpoint 1.159 (colored)

Remove support for SA. Ok core@.

Revision 1.162 / (download) - annotate - [select for diffs], Tue Jan 16 05:28:45 2007 UTC (17 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.161: +1 -5 lines
Diff to previous 1.161 (colored)

Add sched_yield().

Revision 1.161 / (download) - annotate - [select for diffs], Tue Jan 16 01:30:45 2007 UTC (17 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.160: +22 -8 lines
Diff to previous 1.160 (colored)

Add prototypes for: _lwp_kill, _lwp_detach, _lwp_park, _lwp_unpark,
_lwp_unpark_all, sched_yield.

Revision 1.159.2.4 / (download) - annotate - [select for diffs], Tue Jan 16 01:28:27 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.159.2.3: +4 -4 lines
Diff to previous 1.159.2.3 (colored) to branchpoint 1.159 (colored)

Adjust arguments to _lwp_park() and friends so that in the best case
_lwp_unpark_all() only has to traverse one sleep queue.

Revision 1.146.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:06 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146.2.1: +20 -10 lines
Diff to previous 1.146.2.1 (colored)

sync with head.

Revision 1.159.2.3 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:44 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.159.2.2: +40 -38 lines
Diff to previous 1.159.2.2 (colored) to branchpoint 1.159 (colored)

Checkpoint work in progress.

Revision 1.159.2.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:23 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.159.2.1: +2 -2 lines
Diff to previous 1.159.2.1 (colored) to branchpoint 1.159 (colored)

Sync with head.

Revision 1.159.2.1 / (download) - annotate - [select for diffs], Tue Oct 24 21:37:01 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.159: +21 -21 lines
Diff to previous 1.159 (colored)

- Mark a few more syscalls as MPSAFE.
- Add lwp_kill().

Revision 1.159.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:11 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored) next main 1.160 (colored)

sync with head

Revision 1.160 / (download) - annotate - [select for diffs], Tue Oct 17 15:06:18 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored)

according to the manual, the last argument of quotactl(2) is a void *,
not a caddr_t.

Revision 1.150.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:57:17 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.150: +27 -14 lines
Diff to previous 1.150 (colored) next main 1.151 (colored)

sync with head

Revision 1.159 / (download) - annotate - [select for diffs], Fri Sep 1 20:58:18 2006 UTC (17 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.158: +1 -5 lines
Diff to previous 1.158 (colored)

Don't conditionalize *sys_ptrace.  The lack of sys_ptrace will be dealt
with differently.

Revision 1.158 / (download) - annotate - [select for diffs], Wed Aug 30 11:34:26 2006 UTC (17 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.157: +2 -2 lines
Diff to previous 1.157 (colored)

Add || defined(_KERNEL) to ptrace entry (like ktrace).

Revision 1.157 / (download) - annotate - [select for diffs], Tue Aug 29 23:34:48 2006 UTC (17 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.156: +5 -1 lines
Diff to previous 1.156 (colored)

Make PTRACE and COREDUMP optional.  Make the default (status quo) by putting
them in conf/std.

Revision 1.151.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:47 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.151.2.2: +19 -9 lines
Diff to previous 1.151.2.2 (colored) to branchpoint 1.151 (colored) next main 1.152 (colored)

sync with head

Revision 1.156 / (download) - annotate - [select for diffs], Mon Jul 31 16:32:51 2006 UTC (17 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.155: +15 -8 lines
Diff to previous 1.155 (colored)

Step 1 to make filehandles completely opaque to userland

Revision 1.153.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:51 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.153: +6 -3 lines
Diff to previous 1.153 (colored) next main 1.154 (colored)

Merge from HEAD.

Revision 1.155 / (download) - annotate - [select for diffs], Thu Jul 13 12:00:25 2006 UTC (17 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.154: +4 -2 lines
Diff to previous 1.154 (colored)

Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).

Revision 1.154 / (download) - annotate - [select for diffs], Mon Jun 26 21:23:58 2006 UTC (17 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.153: +3 -2 lines
Diff to previous 1.153 (colored)

version the socket(2) syscall.  for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.

Revision 1.151.2.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:52:57 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.151.2.1: +3 -2 lines
Diff to previous 1.151.2.1 (colored) to branchpoint 1.151 (colored)

sync with head.

Revision 1.146.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:38 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.146: +52 -16 lines
Diff to previous 1.146 (colored)

sync with head.

Revision 1.152.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:07:16 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.152: +3 -2 lines
Diff to previous 1.152 (colored) next main 1.153 (colored)

Sync with head.

Revision 1.150.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:09 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.150.6.1: +10 -7 lines
Diff to previous 1.150.6.1 (colored) to branchpoint 1.150 (colored) next main 1.151 (colored)

Sync with head.

Revision 1.153 / (download) - annotate - [select for diffs], Mon May 29 09:57:55 2006 UTC (17 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Changes since 1.152: +3 -2 lines
Diff to previous 1.152 (colored)

Extend "struct ntptimeval" for the needs of "timecounters".
Allocate a new syscall for ntp_gettime() and set up COMPAT_30 for
the old one.

Revision 1.151.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:41 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.151: +8 -6 lines
Diff to previous 1.151 (colored) next main 1.152 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.151.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:41 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.151: +8 -6 lines
Diff to previous 1.151 (colored)

sync with head.

Revision 1.151.4.1 / (download) - annotate - [select for diffs], Thu May 11 23:30:15 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.151: +8 -6 lines
Diff to previous 1.151 (colored) next main 1.152 (colored)

sync with head

Revision 1.152 / (download) - annotate - [select for diffs], Thu May 4 17:48:56 2006 UTC (17 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.151: +8 -6 lines
Diff to previous 1.151 (colored)

fhstat needs to be versioned too (for ino_t). Pointed out by Izumi Tsutsui

Revision 1.150.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:59 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored)

Sync with head.

Revision 1.150.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:46 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored) next main 1.151 (colored)

sync with head.

Revision 1.151 / (download) - annotate - [select for diffs], Fri Feb 24 19:20:20 2006 UTC (18 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored)

constify the __sysctl() kernel side

Revision 1.128.2.7 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:12 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.128.2.6: +3 -1 lines
Diff to previous 1.128.2.6 (colored) next main 1.129 (colored)

Sync with head.

Revision 1.150 / (download) - annotate - [select for diffs], Tue Nov 29 22:52:02 2005 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: ktrace-lwp-base
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.149: +3 -1 lines
Diff to previous 1.149 (colored)

merge yamt-readahead branch.

Revision 1.149.6.2 / (download) - annotate - [select for diffs], Wed Nov 16 10:56:00 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-readahead
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile
Changes since 1.149.6.1: +2 -2 lines
Diff to previous 1.149.6.1 (colored) to branchpoint 1.149 (colored) next main 1.150 (colored)

change posix_fadvise prototype. (XSH/TC2/D6/68)

Revision 1.149.6.1 / (download) - annotate - [select for diffs], Tue Nov 15 05:11:50 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-readahead
Changes since 1.149: +3 -1 lines
Diff to previous 1.149 (colored)

add sys_posix_fadvise.

Revision 1.128.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:45 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.128.2.5: +43 -12 lines
Diff to previous 1.128.2.5 (colored)

Sync with HEAD. Here we go again...

Revision 1.149 / (download) - annotate - [select for diffs], Mon Sep 26 03:02:19 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.148: +7 -7 lines
Diff to previous 1.148 (colored)

some of the extattr syscalls return ssize_t not int.

Revision 1.148 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:03 2005 UTC (18 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.147: +9 -5 lines
Diff to previous 1.147 (colored)

64 bit inode changes.

Revision 1.147 / (download) - annotate - [select for diffs], Sun Jul 10 22:04:20 2005 UTC (18 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.146: +28 -1 lines
Diff to previous 1.146 (colored)

Add Linux-compatible {,fl}{get,set,list}xattr() system call interface
to the VFS extended attribute subsystem.

Revision 1.146 / (download) - annotate - [select for diffs], Sun May 29 21:07:49 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (colored)

Argument for swapctl cannot be const, since it gets loaded with swap
statistics.

Revision 1.143.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:24 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.143: +6 -1 lines
Diff to previous 1.143 (colored) next main 1.144 (colored)

sync with -current

Revision 1.143.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:12 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.143: +6 -1 lines
Diff to previous 1.143 (colored) next main 1.144 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.128.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:01 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.128.2.4: +6 -1 lines
Diff to previous 1.128.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.145 / (download) - annotate - [select for diffs], Fri Feb 25 19:53:56 2005 UTC (19 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.144: +6 -3 lines
Diff to previous 1.144 (colored)

Add pselect and pollts

Revision 1.144 / (download) - annotate - [select for diffs], Sat Feb 19 22:15:51 2005 UTC (19 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.143: +3 -1 lines
Diff to previous 1.143 (colored)

Add placeholders for sys_pselect and sys_pollts

Revision 1.128.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:26 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.128.2.3: +34 -1 lines
Diff to previous 1.128.2.3 (colored)

Sync with HEAD.

Revision 1.143 / (download) - annotate - [select for diffs], Sun Jan 2 16:08:29 2005 UTC (19 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.142: +34 -1 lines
Diff to previous 1.142 (colored)

Add the system call and VFS infrastructure for file system extended
attributes.

From FreeBSD.

Revision 1.128.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:14 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.128.2.2: +1 -1 lines
Diff to previous 1.128.2.2 (colored)

Fix the sync with head I botched.

Revision 1.128.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:03 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.128.2.1: +0 -0 lines
Diff to previous 1.128.2.1 (colored)

Sync with HEAD.

Revision 1.128.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:55 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.128: +33 -20 lines
Diff to previous 1.128 (colored)

Sync with HEAD

Revision 1.142 / (download) - annotate - [select for diffs], Mon May 10 22:28:24 2004 UTC (19 years, 11 months ago) by kleink
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored)

POSIX-2001: Change readlink(2)'s return type from int to ssize_t.

Revision 1.141 / (download) - annotate - [select for diffs], Tue Apr 27 01:12:44 2004 UTC (19 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.140: +3 -3 lines
Diff to previous 1.140 (colored)

POSIX-2001: Add restrict keywords to gettimeofday(2) and setitimer(2);
further deprecate struct timezone usage by changing `tzp' argument to
gettimeofday() to void *; align utimes(2) declaration by changing `times`
argument from struct timeval * to struct timeval[2].  From Murray
Armfield in PR standards/25331.

In due curse, reflect these changes in futimes(2), lutimes(2), and
settimeofday(2).

Revision 1.140 / (download) - annotate - [select for diffs], Sun Apr 25 22:18:08 2004 UTC (19 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.139: +3 -3 lines
Diff to previous 1.139 (colored)

POSIX-2001: Change the `who' argument to [gs]etpriority(2) from int
to id_t.  Partially addressing PR standards/25216 from Murray Armfield.

Revision 1.139 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:38 2004 UTC (19 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.138: +16 -8 lines
Diff to previous 1.138 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.138 / (download) - annotate - [select for diffs], Fri Mar 26 15:18:54 2004 UTC (20 years ago) by drochner
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.137: +1 -5 lines
Diff to previous 1.137 (colored)

all ports define __HAVE_SIGINFO now, so remove the CPP conditionals

Revision 1.137 / (download) - annotate - [select for diffs], Sun Mar 14 00:45:21 2004 UTC (20 years, 1 month ago) by cl
Branch: MAIN
Changes since 1.136: +2 -3 lines
Diff to previous 1.136 (colored)

g/c sys_sa_unblockyield which has been unused since 2004/01/02

Revision 1.136 / (download) - annotate - [select for diffs], Thu Jan 29 02:00:03 2004 UTC (20 years, 2 months ago) by tsarna
Branch: MAIN
Changes since 1.135: +2 -1 lines
Diff to previous 1.135 (colored)

uuidgen(2) syscall.  Originally from FreeBSD, ported by John Franklin in
PR#23470, with minor updates by me. This is only the syscall support
from that PR, for now.

Changes: port over fix from FreeBSD for multicast address generation.
Changed bcopy to memcpy.  For now, #ifdef notyet the portions of
kern_uuid.c that are meant to be used by (currently nonexistent) other
things in the kernel.  Added syscall to COMPAT_FREEBSD as well, though
that's currently not useful, as any program new enough to use this call
also uses other syscalls we don't (yet) emulate.

Revision 1.135 / (download) - annotate - [select for diffs], Fri Jan 2 18:52:17 2004 UTC (20 years, 3 months ago) by cl
Branch: MAIN
Changes since 1.134: +3 -2 lines
Diff to previous 1.134 (colored)

kernel part of no-syscall upcall stack return:  libpthread registers
an offset between ss_sp and struct sa_stackinfo_t (located in struct
__pthread_st) when calling sa_register.  The kernel increments the
sast_gen counter in struct sastack when an upcall stack is used.
libpthread increments the sasi_stackgen counter in struct
sa_stackinfo_t when an upcall stack is freed.  The kernel compares the
two counters to decide if a stack is free or in use.

- add struct sa_stackinfo_t with sasi_stackgen to count stack use in
  userland
- add sast_gen to struct sastack to count stack use in kernel
- add SA_FLAG_STACKINFO to enable the stackinfo_offset argument in the
  sa_register syscall
- add sa_stackinfo_offset to struct sadata for offset between ss_sp
  and struct sa_stackinfo_t
- add ssize_t stackinfo_offset argument to sa_register, initialize
  struct sadata's sa_stackinfo_offset from it if SA_FLAG_STACKINFO is
  set
- add sa_getstack, sa_getstack0, sa_stackused and sa_setstackfree
  functions to find/use/free upcall stacks and use these where
  appropriate
- don't record stack for upcall in sa_upcall0
- pass sau to sa_switchcall instead of l2 (l2 = curlwp in sa_switchcall)
- add sa_vp_blocker to struct sadata to pass recently blocked lwp to
  sa_switchcall
- delay finding a stack for blocked upcalls to sa_switchcall
- add sa_stacknext to struct sadata pointing to next most likely free
  upcall stack; also g/c sa_stackslist in struct sadata and sast_list
  in struct sastack
- add L_SA_WOKEN flag: LWP is on sa_woken queue
- add L_SA_RECYCLE flag: LWP should be recycled in sa_setwoken
- replace l_upcallstack with L_SA_WOKEN/L_SA_RECYCLE/L_SA_BLOCKING
  flags
- g/c now unused sast_blocker in struct sastack
- make sa_switchcall, sa_upcall0 and sa_upcall_getstate static in
  kern_sa.c
- call sa_upcall_userret only once in userret
- split sa_makeupcalls out of sa_upcall_userret and use to process
  the sa_upcalls queue
- on process exit: mark LWPs sleeping in saunblock interruptible; also
  there are no LWPs sleeping on l->l_upcallstack anymore; also clear
  sa_wokenq_head to prevent unblocked upcalls

additional changes:
- cleanup timerupcall sa_vp == curlwp check
- add check in sa_yield if we didn't block on our way here and we
  wouldn't any longer be the LWP on the VP
- invalidate sa_vp_ofaultaddr after resolving pagefault

Revision 1.134 / (download) - annotate - [select for diffs], Sat Nov 15 01:19:38 2003 UTC (20 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.133: +4 -1 lines
Diff to previous 1.133 (colored)

Kernel portion of the fsync_range(2) system call.  Written by Bill
Studenmund, and contributed by Wasabi Systems, Inc.

Revision 1.133 / (download) - annotate - [select for diffs], Tue Sep 30 20:36:10 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

#ifdef _LIBC the semid_t syscalls since we don't define semid_t in userland
except in the libc case.
XXX: Should we define __semid_t instead and make those visible from userland
again? Only ktrace and syscall() get affected.

Revision 1.132 / (download) - annotate - [select for diffs], Fri Sep 26 23:08:24 2003 UTC (20 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored)

Constify __sigaction_sigtramp argument 'void * tramp'.

Revision 1.131 / (download) - annotate - [select for diffs], Tue Sep 23 14:34:07 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored)

__sigaction14 should have been COMPAT_16 a while ago. GC it now.

Revision 1.130 / (download) - annotate - [select for diffs], Tue Sep 16 13:46:25 2003 UTC (20 years, 7 months ago) by cl
Branch: MAIN
Changes since 1.129: +4 -3 lines
Diff to previous 1.129 (colored)

fix SA/pthread pagefault failure:
- prevent BLOCKED upcalls on double page faults and during upcalls
- make libpthread handle blocked threads which hold locks
- prevent UNBLOCKED upcalls from overtaking their BLOCKED upcall
this adds a new syscall sa_unblockyield
see also http://mail-index.netbsd.org/tech-kern/2003/09/15/0020.html

Revision 1.129 / (download) - annotate - [select for diffs], Wed Sep 10 16:43:35 2003 UTC (20 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.128: +5 -1 lines
Diff to previous 1.128 (colored)

we don't need sigreturn and sigcode glue if we are not compat_16 anymore.

Revision 1.128 / (download) - annotate - [select for diffs], Tue Mar 18 18:08:49 2003 UTC (21 years, 1 month ago) by christos
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored)

_lwp_setprivate returns void

Revision 1.127 / (download) - annotate - [select for diffs], Sat Feb 15 20:54:39 2003 UTC (21 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.126: +9 -4 lines
Diff to previous 1.126 (colored)

add __sigtimedwait(2) - wait for specified set of signals, with optional
timeout
the semantics of 'timeout' parameter differ to POSIX for the syscall
(not const, may be modified by kernel if interrupted from the wait) -
libc will provide appropriate wrapper

since sigwaitinfo(2) will be implemented as wrapper around sigtimedwait()
too, remove it's reserved slot and move sigqueue slot 'up', freeing
slot #246

Revision 1.126 / (download) - annotate - [select for diffs], Fri Jan 24 01:27:21 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.125: +12 -1 lines
Diff to previous 1.125 (colored)

Reserve slots for the p1003.1b scheduler system calls.

Revision 1.125 / (download) - annotate - [select for diffs], Fri Jan 24 01:23:27 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.124: +11 -11 lines
Diff to previous 1.124 (colored)

Reserve slots for p1003.1b message queue calls.

Revision 1.124 / (download) - annotate - [select for diffs], Fri Jan 24 01:17:53 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.123: +3 -2 lines
Diff to previous 1.123 (colored)

Allocate a slot for _ksem_timedwait(), although it is not currently
implemented.

Revision 1.123 / (download) - annotate - [select for diffs], Thu Jan 23 23:29:46 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

Allow the _ksem_*() syscalls to be properly seen by ktruss/kdump.

Revision 1.122 / (download) - annotate - [select for diffs], Mon Jan 20 20:24:21 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.121: +19 -19 lines
Diff to previous 1.121 (colored)

sys_ksem -> sys__ksem

Revision 1.121 / (download) - annotate - [select for diffs], Mon Jan 20 20:04:28 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.120: +1 -2 lines
Diff to previous 1.120 (colored)

actually, remove ksem.h

Revision 1.120 / (download) - annotate - [select for diffs], Mon Jan 20 20:03:38 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

semaphore.h -> ksem.h

Revision 1.119 / (download) - annotate - [select for diffs], Mon Jan 20 20:02:57 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.118: +26 -10 lines
Diff to previous 1.118 (colored)

add support for p1003.1b semaphores. From FreeBSD

Revision 1.118 / (download) - annotate - [select for diffs], Sat Jan 18 10:06:35 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.117: +38 -31 lines
Diff to previous 1.117 (colored)

Merge the nathanw_sa branch.

Revision 1.108.2.15 / (download) - annotate - [select for diffs], Fri Jan 17 03:07:04 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.108.2.14: +4 -4 lines
Diff to previous 1.108.2.14 (colored) next main 1.109 (colored)

Implement _lwp_getprivate(2) and _lwp_setprivate(2).

Revision 1.108.2.14 / (download) - annotate - [select for diffs], Thu Dec 19 23:57:19 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.108.2.13: +4 -4 lines
Diff to previous 1.108.2.13 (colored)

Sync with HEAD.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Dec 19 23:51:00 2002 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.116: +4 -4 lines
Diff to previous 1.116 (colored)

Reserve syscall slots for sigwaitinfo(2), sigtimedwait(2), and
sigqueue(2).

Revision 1.108.2.13 / (download) - annotate - [select for diffs], Mon Nov 11 22:14:03 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.12: +5 -2 lines
Diff to previous 1.108.2.12 (colored)

Catch up to -current

Revision 1.116 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:24 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.115: +6 -3 lines
Diff to previous 1.115 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.110.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:16 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.4: +1 -1 lines
Diff to previous 1.110.2.4 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.108.2.12 / (download) - annotate - [select for diffs], Tue Sep 17 21:22:21 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.11: +4 -1 lines
Diff to previous 1.108.2.11 (colored)

Catch up to -current.

Revision 1.110.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:48:12 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.3: +10 -4 lines
Diff to previous 1.110.2.3 (colored) to branchpoint 1.110 (colored)

sync kqueue branch with HEAD

Revision 1.115 / (download) - annotate - [select for diffs], Wed Sep 4 07:45:41 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base
Changes since 1.114: +3 -1 lines
Diff to previous 1.114 (colored)

claim syscall slots for kqueue(2) and kevent(2)

Revision 1.108.2.11 / (download) - annotate - [select for diffs], Sat Aug 31 00:00:14 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.10: +2 -2 lines
Diff to previous 1.108.2.10 (colored)

Add "flags" parameter to sys_sa_register().

Revision 1.111.2.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:13 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.111.2.1: +4 -1 lines
Diff to previous 1.111.2.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)

catch up with -current.

Revision 1.114 / (download) - annotate - [select for diffs], Wed Aug 28 07:16:39 2002 UTC (21 years, 7 months ago) by gmcgarry
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.113: +2 -1 lines
Diff to previous 1.113 (colored)

MI kernel support for user-level Restartable Atomic Sequences (RAS).

Revision 1.108.2.10 / (download) - annotate - [select for diffs], Tue Aug 13 02:20:08 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.9: +2 -0 lines
Diff to previous 1.108.2.9 (colored)

Catch up to -current.

Revision 1.113 / (download) - annotate - [select for diffs], Wed Aug 7 04:52:53 2002 UTC (21 years, 8 months ago) by briggs
Branch: MAIN
Changes since 1.112: +3 -1 lines
Diff to previous 1.112 (colored)

New syscalls: sys_pmc_get_info and sys_pmc_control.

Revision 1.108.2.9 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:25 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.8: +5 -1 lines
Diff to previous 1.108.2.8 (colored)

Catch up to -current.

Revision 1.111.2.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:36:40 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.111: +5 -1 lines
Diff to previous 1.111 (colored)

catch up with -current.

Revision 1.112 / (download) - annotate - [select for diffs], Thu Jul 4 23:32:14 2002 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.111: +5 -1 lines
Diff to previous 1.111 (colored)

Add kernel support for having userland provide the signal trampoline:

* struct sigacts gets a new sigact_sigdesc structure, which has the
  sigaction and the trampoline/version.  Version 0 means "legacy kernel
  provided trampoline".  Other versions are coordinated with machine-
  dependent code in libc.
* sigaction1() grows two more arguments -- the trampoline pointer and
  the trampoline version.
* A new __sigaction_sigtramp() system call is provided to register a
  trampoline along with a signal handler.
* The handler is no longer passed to sensig() functions.  Instead,
  sendsig() looks up the handler by peeking in the sigacts for the
  process getting the signal (since it has to look in there for the
  trampoline anyway).
* Native sendsig() functions now select the appropriate trampoline and
  its arguments based on the trampoline version in the sigacts.

Changes to libc to use the new facility will be checked in later.  Kernel
version not bumped; we will ride the 1.6C bump made recently.

Revision 1.110.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:49:37 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.2: +4 -4 lines
Diff to previous 1.110.2.2 (colored) to branchpoint 1.110 (colored)

catch up with -current on kqueue branch

Revision 1.108.2.8 / (download) - annotate - [select for diffs], Thu Jun 20 03:47:23 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.7: +4 -4 lines
Diff to previous 1.108.2.7 (colored)

Catch up to -current.

Revision 1.110.2.2 / (download) - annotate - [select for diffs], Fri Jun 7 08:22:36 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.110.2.1: +3 -3 lines
Diff to previous 1.110.2.1 (colored) to branchpoint 1.110 (colored)

kevent(2): change type of 'nchanges' and 'nevents' from int to size_t
change discussed on bsd-api list

Revision 1.108.2.7 / (download) - annotate - [select for diffs], Wed May 29 21:33:15 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.6: +2 -1 lines
Diff to previous 1.108.2.6 (colored)

#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)

Revision 1.111 / (download) - annotate - [select for diffs], Fri May 3 00:20:56 2002 UTC (21 years, 11 months ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.110: +4 -4 lines
Diff to previous 1.110 (colored)

Use #if defined(_LP64) to determine if we're generating 64-bit binaries,
not #if defined(alpha).

Revision 1.108.2.6 / (download) - annotate - [select for diffs], Mon Feb 25 00:37:34 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.5: +2 -2 lines
Diff to previous 1.108.2.5 (colored)

Rename the setlogin system call to __setlogin.

Revision 1.108.2.5 / (download) - annotate - [select for diffs], Mon Jan 28 18:29:52 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.4: +3 -3 lines
Diff to previous 1.108.2.4 (colored)

Add a system call, _lwp_wakeup(), to wake up LWPs that are sleeping
interruptably. This is necessary when another thread has requested the
cancellation of a thread that is sleeping in the kernel.

This interface is slightly klugey. It might be better handled with a _lwp_kill()
interface, but that requires all of the machinery to deliver signals to
individual LWPs, which is large, complicated, and not clearly necessary.

Revision 1.108.2.4 / (download) - annotate - [select for diffs], Sat Nov 17 01:10:17 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.3: +10 -6 lines
Diff to previous 1.108.2.3 (colored)

Implement POSIX realtime timers, and reimplement getitimer() and setitimer()
in terms of them.

Revision 1.108.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:40 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.2: +2 -2 lines
Diff to previous 1.108.2.2 (colored)

Catch up with -current.

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Tue Jul 10 13:45:49 2001 UTC (22 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.110: +7 -1 lines
Diff to previous 1.110 (colored)

add sys_kqueue (340) and sys_kevent (341)

Revision 1.110 / (download) - annotate - [select for diffs], Sun Jul 1 18:06:11 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: kqueue
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

Linux-compatible clone(2) system call, lifted from the Linux
compatibility module.  Based on patches from Bang Jun-Young <bjy@mogua.org>.

Revision 1.108.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:07:05 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.2.1: +1 -1 lines
Diff to previous 1.108.2.1 (colored)

Catch up to -current.

Revision 1.97.2.6 / (download) - annotate - [select for diffs], Sat Apr 21 17:46:29 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97.2.5: +2 -2 lines
Diff to previous 1.97.2.5 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Sync with HEAD

Revision 1.109 / (download) - annotate - [select for diffs], Tue Apr 10 11:03:56 2001 UTC (23 years ago) by kleink
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored)

Slight indentation nit.

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:45 2001 UTC (23 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.108: +23 -21 lines
Diff to previous 1.108 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.97.2.5 / (download) - annotate - [select for diffs], Sun Feb 11 19:16:49 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97.2.4: +6 -3 lines
Diff to previous 1.97.2.4 (colored) to branchpoint 1.97 (colored)

Sync with HEAD.

Revision 1.108 / (download) - annotate - [select for diffs], Sat Jan 27 07:47:26 2001 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.107: +6 -3 lines
Diff to previous 1.107 (colored)

getpid(2), our first MP-safe syscall!

Revision 1.97.2.4 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:45 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97.2.3: +40 -1 lines
Diff to previous 1.97.2.3 (colored) to branchpoint 1.97 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.107 / (download) - annotate - [select for diffs], Mon Jan 8 18:25:35 2001 UTC (23 years, 3 months ago) by nathanw
Branch: MAIN
Changes since 1.106: +40 -1 lines
Diff to previous 1.106 (colored)

Reserve system call slots for getcontext, setcontext, LWPs, and
scheduler activations.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Jan 5 21:42:08 2001 UTC (23 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored)

utrace(2): rename 'id' parameter to 'label'

Revision 1.97.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:40 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97.2.2: +2 -0 lines
Diff to previous 1.97.2.2 (colored) to branchpoint 1.97 (colored)

Sync with HEAD

Revision 1.105 / (download) - annotate - [select for diffs], Thu Dec 28 11:10:15 2000 UTC (23 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.104: +3 -1 lines
Diff to previous 1.104 (colored)

add utrace(2) - this syscall allows to add user ktrace entries
idea from FreeBSD, but added argument (const char *id) so that it's possible
to differentiate between entries from different sources

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:22 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97.2.1: +15 -1 lines
Diff to previous 1.97.2.1 (colored) to branchpoint 1.97 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.104 / (download) - annotate - [select for diffs], Sat Dec 9 07:04:48 2000 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.103: +13 -1 lines
Diff to previous 1.103 (colored)

Define 3 new functions:
* sys_getpid_with_ppid()
* sys_getuid_with_euid()
* sys_getgid_with_egid()
that do the retval[1] hack.  Use them when COMPAT_43 is defined.

Revision 1.103 / (download) - annotate - [select for diffs], Sat Dec 9 05:27:31 2000 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.102: +3 -1 lines
Diff to previous 1.102 (colored)

Add the %% separators.

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:10 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.97: +12 -4 lines
Diff to previous 1.97 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.90.2.2 / (download) - annotate - [select for diffs], Fri Oct 6 15:46:29 2000 UTC (23 years, 6 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.90.2.1: +3 -2 lines
Diff to previous 1.90.2.1 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored)

Correct error in previous pullup.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Fri Oct 6 15:37:27 2000 UTC (23 years, 6 months ago) by he
Branch: netbsd-1-4
Changes since 1.90: +12 -3 lines
Diff to previous 1.90 (colored)

Pull up revision 1.101 (via patch, requested by sommerfeld):
  Introduce the issetugid() system call.

Revision 1.102 / (download) - annotate - [select for diffs], Mon Aug 7 17:59:33 2000 UTC (23 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.101: +7 -1 lines
Diff to previous 1.101 (colored)

Changes to syscalls.master to exclude ntp_adjtime(2) entirely if NTP is not
defined.  Changes to other files will follow in a moment.

Revision 1.101 / (download) - annotate - [select for diffs], Fri Apr 21 16:15:39 2000 UTC (23 years, 11 months ago) by minoura
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.100: +2 -1 lines
Diff to previous 1.100 (colored)

Add native issetugid() call.
Implementation from compat/freebsd.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Apr 17 14:31:22 2000 UTC (24 years ago) by mrg
Branch: MAIN
Changes since 1.99: +2 -1 lines
Diff to previous 1.99 (colored)

implement lchflags(2), which does the chflags(2) dance without following
symlinks, and thus can operate on symlinks.  remove a bogus comment in
chflags(1) that claims symlinks do not have file flags.

XXX: todo -- make chflags(1) use lchflags(2) when given the right options.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Jan 31 15:12:30 2000 UTC (24 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.98: +4 -4 lines
Diff to previous 1.98 (colored)

__semctl13 -> ____semctl13 because this now is not called directly.
The fourth argument to it is a pointer to union semun not union semun,
because passing structs and unions to syscalls cannot be handled portably.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Jan 23 01:01:30 2000 UTC (24 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored)

Use proper varargs format for __semctl13.

Revision 1.97 / (download) - annotate - [select for diffs], Wed Aug 25 05:05:48 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.96: +28 -10 lines
Diff to previous 1.96 (colored)

Overhaul of the SVID IPC facilities, primarily to use the types specified
by the Single UNIX Specification version 2, rather than the SVR2-derived
types.  While I was here, I did a namespace sweep to expose the constants
and strucutures, and structure members described by SUSv2; documentation
updates coming shortly.

Fixes kern/8158.

Revision 1.90.4.3 / (download) - annotate - [select for diffs], Mon Aug 2 22:16:51 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.90.4.2: +2 -2 lines
Diff to previous 1.90.4.2 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored)

Update from trunk.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Jul 12 23:01:27 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.95: +1 -3 lines
Diff to previous 1.95 (colored)

Remove two lines that were apparently added by accident.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Jul 12 21:55:21 1999 UTC (24 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.94: +4 -2 lines
Diff to previous 1.94 (colored)

XSH5: change function signature to `void *sbrk(intptr_t)'.

Revision 1.90.4.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:43:21 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.90.4.1: +6 -5 lines
Diff to previous 1.90.4.1 (colored) to branchpoint 1.90 (colored)

Sync w/ -current.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Jun 29 22:15:31 1999 UTC (24 years, 9 months ago) by wrstuden
Branch: MAIN
Changes since 1.93: +6 -5 lines
Diff to previous 1.93 (colored)

Add fhopen, fhstat, fhstatfs.

Revision 1.90.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:24:04 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.90: +56 -58 lines
Diff to previous 1.90 (colored)

Sync w/ -current.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Jun 15 23:28:16 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

Add mlockall at #242 and munlockall at #243.

Revision 1.92 / (download) - annotate - [select for diffs], Wed Jun 9 04:25:30 1999 UTC (24 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.91: +53 -55 lines
Diff to previous 1.91 (colored)

Add EXCL keyword as described in tech_kern, and fix comments. Make the
vtrace syscall UNIMPL because it is.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Jun 8 03:07:39 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

mincore: caddr_t -> void *

Revision 1.90 / (download) - annotate - [select for diffs], Sun Mar 28 17:29:52 1999 UTC (25 years ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: netbsd-1-4, chs-ubc2
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored)

Sync __getlogin()'s namelen argument with the libc-internal declaration
(u_int vs. size_t).

Revision 1.89 / (download) - annotate - [select for diffs], Mon Mar 22 17:01:55 1999 UTC (25 years ago) by sommerfe
Branch: MAIN
Changes since 1.88: +3 -1 lines
Diff to previous 1.88 (colored)

Change namei cache to record vnode->(parent,name) entries (for directories).
Add kernel implementation of getcwd() which uses this cache, falling
back to reading the filesystem on a cache miss.
Along for the ride: add new VOP_FSYNC flag FSYNC_RECLAIM indicating
that a reclaim is being done, so only a "shallow" fsync is needed.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Feb 10 18:02:28 1999 UTC (25 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.87: +10 -10 lines
Diff to previous 1.87 (colored)

* Due to addition and use of socklen_t, make the socket option and address
arguments passed to accept(), bind(), connect(), getpeername(), getsockname(),
getsockopt(), recvfrom(), sendto() and sendmsg() unsigned, which also elimiates
a few casts.
* Reflect the (now) signedness of msg_iovlen, which necessiates the addition
of a few casts.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Dec 10 15:09:18 1998 UTC (25 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.86: +2 -1 lines
Diff to previous 1.86 (colored)

defopt COMPAT_43

Revision 1.86 / (download) - annotate - [select for diffs], Thu Nov 26 16:07:05 1998 UTC (25 years, 4 months ago) by kleink
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored)

getpgid(2) returns a value of type pid_t.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Oct 19 22:17:41 1998 UTC (25 years, 5 months ago) by tron
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.84: +2 -1 lines
Diff to previous 1.84 (colored)

Defopt SYSVMSG, SYSVSEM and SYSVSHM.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Sep 12 10:48:29 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Fix thinko in previous.

Revision 1.83 / (download) - annotate - [select for diffs], Sat Sep 12 00:47:13 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.82: +4 -2 lines
Diff to previous 1.82 (colored)

Version sys_sigreturn, to avoid breaking programs that use it explicitly.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Sep 11 12:50:11 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.81: +22 -11 lines
Diff to previous 1.81 (colored)

Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
  versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
  sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
  sys_sigpending() and sys_sigsuspend() into separate functions, and call them
  from all the emulations rather than hard-coding everything.  (Avoids uses
  the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
  pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
  bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
  in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.

Note: Only code touched by the i386 port has been modified.  Other ports and
emulations need to be updated.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Jul 5 08:49:50 1998 UTC (25 years, 9 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 (colored)

* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Jul 2 01:23:33 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.79: +5 -5 lines
Diff to previous 1.79 (colored)

Argh, pad the off_t args in pread/pwrite/preadv/pwritev.  System call
numbers don't change since the window of brokenness was so small (1 day).

Revision 1.79 / (download) - annotate - [select for diffs], Tue Jun 30 19:33:11 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.78: +11 -3 lines
Diff to previous 1.78 (colored)

Add positional read and write system calls:
- pread() (#173) and pwrite() (#174), which are defined by XPG4.2.  System
  call numbers match Solaris.
- preadv() (#289) and pwritev() (#290), which are the positional cousins
  of readv() and writev(), but not defined by any standard.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jun 25 22:16:40 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored)

defopt NFSSERVER

Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 25 21:16:03 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.76: +3 -1 lines
Diff to previous 1.76 (colored)

defopt KTRACE

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jun 5 20:31:36 1998 UTC (25 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

Per IEEE Std 1003.1b-1993, implement the fdatasync() system call which is
identical to fsync() with the expecption of not being required to synchronize
file status information.

Revision 1.75 / (download) - annotate - [select for diffs], Sat May 30 22:21:03 1998 UTC (25 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.74: +3 -3 lines
Diff to previous 1.74 (colored)

Per XSH98, const'ify the `addr' arguments to mlock() and munlock().

Revision 1.74 / (download) - annotate - [select for diffs], Thu May 7 17:08:42 1998 UTC (25 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.73: +9 -9 lines
Diff to previous 1.73 (colored)

Several SYSV IPC prototype changes.

Revision 1.73 / (download) - annotate - [select for diffs], Sat May 2 18:33:21 1998 UTC (25 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.72: +9 -2 lines
Diff to previous 1.72 (colored)

New fktrace syscall from Darren Reed [with fixes from me]

Revision 1.72 / (download) - annotate - [select for diffs], Fri Mar 27 13:02:21 1998 UTC (26 years ago) by kleink
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Per X/Open CAE Spec Issue 5 Version 2, change the buffer size argument of
readlink() from type `int' to type `size_t'.  This isn't an ABI change, since
the calling convention of our only LP64 platform (the Alpha) already promotes
this argument to a `long'.

This may not be the final action on this matter; readlink() still returns
an `int', which may change in a future revision of the standard.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:06 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +318 -239 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:09:47 1998 UTC (26 years, 1 month ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1: +60 -38 lines
Diff to previous 1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.71 / (download) - annotate - [select for diffs], Wed Feb 25 21:29:45 1998 UTC (26 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

change second parm of sysarch() from char * to void *

Revision 1.70 / (download) - annotate - [select for diffs], Thu Feb 19 00:52:14 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.69: +5 -2 lines
Diff to previous 1.69 (colored)

Include the NFS and LFS option headers.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Feb 14 20:01:05 1998 UTC (26 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.68: +8 -5 lines
Diff to previous 1.68 (colored)

Implement __posix_chown(), __posix_fchown() and __posix_lchown().  Also,
rename posix_rename() to __posix_rename() to follow this convention.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Feb 14 00:39:33 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +5 -1 lines
Diff to previous 1.67 (colored)

Reserve syscalls 283, 284, and 285 for 3 up-coming POSIX systems calls,
per kleink.  Add XPG4.2's getsid(2) at #286.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jan 4 03:45:21 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +3 -1 lines
Diff to previous 1.66 (colored)

Add __vfork14() system call at #282.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Nov 29 18:38:26 1997 UTC (26 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Modify the recent sigaltstack() interface change to use the __RENAME() scheme;
add __sigaltstack14().

Revision 1.65 / (download) - annotate - [select for diffs], Tue Nov 25 19:32:20 1997 UTC (26 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.64: +5 -3 lines
Diff to previous 1.64 (colored)

In XPG4.2, the ss_size member of type stack_t (struct sigaltstack) is specified
to be of type size_t; since this imposes an interface change on the Alpha
(sizeof(int) != sizeof(size_t)), allocate a new system call number and make
the previous version a compatibility system call.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Tue Nov 4 21:27:05 1997 UTC (26 years, 5 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Pull up from trunk: Fix syscall argument type bogons.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Nov 4 21:24:18 1997 UTC (26 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

Fix slight argument bogosity with getgroups(), setgroups(), select(),
and swapctl().  For the former three, they use an 'int' in their user-land
prototype which was a 'u_int' in the kernel, which screwed up automatic
generation/checking of lint syscall stubs.  For the latter, the user-land
prototype uses a "const char *", but the syscall just used "char *".

From Chris Demetriou <cgd@pa.dec.com>.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Oct 20 22:05:06 1997 UTC (26 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

Fix the shared library versioning snafu caused by the recent changes
to the stat(2) family and msync(2).  This uses a primitive function
versioning scheme.

This reverts the libc shared library major version from 13 to 12, and
adds a few new interfaces to bring us to libc version 12.20.

From Frank van der Linden <fvdl@NetBSD.ORG>.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Oct 19 03:25:55 1997 UTC (26 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

umask(2) accepts and returns a mode_t.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Oct 18 16:35:25 1997 UTC (26 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.60: +11 -11 lines
Diff to previous 1.60 (colored)

Fixed missed const char * in lstat (thanks enami) and changed caddr_t -> void *
in the mman family.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Oct 16 23:41:31 1997 UTC (26 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.59: +26 -17 lines
Diff to previous 1.59 (colored)

change char *path to const char *path
change int to mode_t's and to dev_t's as appropriate
add new new stat syscem calls and make the old ones compatibility.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Oct 15 17:27:53 1997 UTC (26 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.58: +5 -4 lines
Diff to previous 1.58 (colored)

Adjust u_int arguments of some system calls to int, to match user-level
prototypes.

Revision 1.58 / (download) - annotate - [select for diffs], Wed Oct 15 17:04:20 1997 UTC (26 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.57: +13 -12 lines
Diff to previous 1.57 (colored)

Adjust u_int arguments of some system calls to int, to match user-level
prototypes.

Revision 1.52.4.2 / (download) - annotate - [select for diffs], Tue Oct 14 10:26:12 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.52.4.1: +8 -4 lines
Diff to previous 1.52.4.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Oct 10 02:03:47 1997 UTC (26 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.56: +3 -4 lines
Diff to previous 1.56 (colored)

Add getdents(). Rename getdirentries to compat_12_getdirentries.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Oct 3 15:06:18 1997 UTC (26 years, 6 months ago) by enami
Branch: MAIN
Changes since 1.55: +6 -1 lines
Diff to previous 1.55 (colored)

Add system call lchmod (#274), lchown (#275) and lutimes (#276).

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Tue Sep 16 03:51:06 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.52: +8 -1 lines
Diff to previous 1.52 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Sep 9 08:05:35 1997 UTC (26 years, 7 months ago) by veego
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

Ups.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 9 08:04:11 1997 UTC (26 years, 7 months ago) by veego
Branch: MAIN
Changes since 1.53: +9 -3 lines
Diff to previous 1.53 (colored)

Move sys_minherit from 250 to 273 and add a comment why 240-269 are
reserved.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Sep 8 18:03:32 1997 UTC (26 years, 7 months ago) by chuck
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

add sys_minherit (from openbsd)

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jun 12 22:05:37 1997 UTC (26 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.51: +1 -1 lines
Diff to previous 1.51 (colored)

swapon back to compat_12 syscall..

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jun 12 21:41:56 1997 UTC (26 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

for now, leave swapon(8) in place.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jun 12 14:23:46 1997 UTC (26 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.49: +3 -2 lines
Diff to previous 1.49 (colored)

add sys_swapctl(), and deprecate, with COMPAT_12, sys_swapon

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Sun Jun 1 10:23:26 1997 UTC (26 years, 10 months ago) by mrg
Branch: mrg-vm-swap2
Changes since 1.48.2.2: +3 -2 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

move swapctl() to syscall 271.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Sun Jun 1 09:22:56 1997 UTC (26 years, 10 months ago) by mrg
Branch: mrg-vm-swap2
Changes since 1.48.2.1: +33 -3 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)

move to swapctl

Revision 1.49 / (download) - annotate - [select for diffs], Sun May 18 19:56:48 1997 UTC (26 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.48: +37 -6 lines
Diff to previous 1.48 (colored)

Add posix_rename() syscall.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Sun May 4 15:20:08 1997 UTC (26 years, 11 months ago) by mrg
Branch: mrg-vm-swap2
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored)

re-merge mrg-vm-swap into -current, and call it mrg-vm-swap2.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Apr 16 14:41:31 1997 UTC (27 years ago) by jtc
Branch: MAIN
CVS Tags: mrg-vm-swap2-base
Branch point for: mrg-vm-swap2
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

Add POSIX.1b nanosleep().

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Fri Feb 14 23:17:17 1997 UTC (27 years, 2 months ago) by mrg
Branch: mrg-vm-swap
Changes since 1.47.2.1: +2 -2 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

swapon has a new syscall number; deal with oswapon.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Wed Feb 12 12:26:16 1997 UTC (27 years, 2 months ago) by mrg
Branch: mrg-vm-swap
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

initial work for dynamic swap additions.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Jan 31 02:34:53 1997 UTC (27 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: is-newarp-before-merge, is-newarp-base, is-newarp
Branch point for: mrg-vm-swap
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

NFSCLIENT -> NFS

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Tue Jan 14 21:10:26 1997 UTC (27 years, 3 months ago) by thorpej
Branch: thorpej-setroot
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Snapshot of work-in-progress, committed to private branch.

These changes implement machine-independent root device and file system
selection.  Notable features:

	- All ports behave in a consistent manner regarding root
	  device selection.
	- No more "options GENERIC"; all kernels have the ability
	  to boot with RB_ASKNAME to select root device and file system
	  type.
	- Root file system type can be wildcarded; a machine-independent
	  function will try all possible file systems for the selected
	  root device until one succeeds.
	- If the root file system fails to mount, the operator will
	  be given the chance to select a new root device and file
	  system type, rather than having the machine simply panic.
	- nfs_mountroot() no longer panics if any part of the NFS
	  mount process fails; it now returns an error, giving the
	  operator a chance to recover.
	- New, more consistent, config(8) grammar.  The constructs:

		config netbsd swap generic
		config netbsd root on nfs

	  have been replaced with:

		config netbsd root on ? type ?
		config netbsd root on ? type nfs

	  Additionally, the operator may select or wildcard root file
	  system type in the kernel configuration file:

		config netbsd root on cd0a type cd9660

	  config(8) now requires that a "root" specification be
	  made.  "root" may be wired down or wildcarded.  "swap" and
	  "dump" specifications are optional, and follow previous
	  semantics.

	- config(8) has a new "file-system" keyword, used to configure
	  file systems into the kernel.  Eventually, this will be used
	  to generate the default vfssw[].

	- "options NFSCLIENT" is obsolete, and is replaced by
	  "file-system NFS".  "options NFSSERVER" still exists, since
	  NFS server support is independent of the NFS file system
	  client.

	- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and
	  will be removed; all information is now generated by config(8).

As of this commit, all ports except arm32 have been updated to use
the new setroot().  Only SPARC, i386, and Alpha ports have been
tested at this time.  Port masters should test these changes on their
ports, and report any problems back to me.

More changes are on their way, including RB_ASKNAME support in
nfs_mountroot() (to prompt for server address and path) and, potentially,
the ability to select rarp/bootparam or bootp in nfs_mountroot().

Revision 1.46 / (download) - annotate - [select for diffs], Sun Dec 22 08:04:06 1996 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Branch point for: thorpej-setroot
Changes since 1.45: +92 -72 lines
Diff to previous 1.45 (colored)

* (slight) general cleanup
* change in-kernel syscall prototypes to match user-land prototypes in
  the following ways:
    + add 'const' where appropriate.
    + make the following "safe" type changes where appropriate:
	caddr_t -> struct msghdr *
	caddr_t -> struct sockaddr *
	caddr_t -> void *
	char * -> void *
	int -> uid_t (safe because uid_t not used as index/count)
	int -> gid_t (safe because gid_t not used as index/count)
	u_int -> size_t
    + change "int" to "u_long" in flags arguments to chflags() and
      fchflags().  This is safe because the arguments are used as
      flag bits and there's nothing that would cause the top bit
      of the int to be set yet, and because the user-land definitions
      already specified u_long, so a u_long's worth of argument was
      already being passed in.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Dec 22 07:47:43 1996 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

change ntp_gettime's struct ntptimeval *'s name to match kern_ntptime.c

Revision 1.44 / (download) - annotate - [select for diffs], Sun Dec 22 07:00:57 1996 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.43: +18 -17 lines
Diff to previous 1.43 (colored)

* fix return types.  previously, most things returned 'int.' which was
  wrong for a bunch of functions:
	void:		sys_exit, sys_sync
	ssize_t:	sys_read, sys_write, sys_recvmsg, sys_sendmsg,
			sys_recvfrom, sys_readv, sys_writev, sys_sendto
	long:		sys_pathconf, sys_fpathconf
	void *:		sys_shmat

* Note that sys_open, sys_ioctl, and sys_fcntl are defined such that their
  last argument is optional.

These changes should not have any real effect, because right now this
information is not actually used for anything.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Dec 22 06:46:50 1996 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.42: +5 -3 lines
Diff to previous 1.42 (colored)

mark syscall() and __syscall() as INDIR syscalls

Revision 1.42 / (download) - annotate - [select for diffs], Sun Dec 22 06:23:38 1996 UTC (27 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

ntp_gettime()'s argument is a struct ntptimeval *, not a struct timex *

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Tue Dec 10 08:04:31 1996 UTC (27 years, 4 months ago) by mycroft
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

From trunk:
Implement setre[ug]id() for real.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Dec 6 20:05:31 1996 UTC (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.40: +1 -6 lines
Diff to previous 1.40 (colored)

Back out this piece of revision 1.38:

>- Optional systems calls are "UNIMPL" if the support is not being
>  compiled into the kernel.

It had implications that didn't occur to me at the time.  *sigh*

Revision 1.40 / (download) - annotate - [select for diffs], Tue Dec 3 00:28:31 1996 UTC (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Include sys_getfh() if NFSSERVER || NFSCLIENT.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Nov 15 22:44:28 1996 UTC (27 years, 5 months ago) by jtc
Branch: MAIN
Changes since 1.38: +13 -1 lines
Diff to previous 1.38 (colored)

Add clock_gettime, clock_settime, and clock_getres

Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 14 04:51:11 1996 UTC (27 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +8 -3 lines
Diff to previous 1.37 (colored)

Make ntp_gettime() and ntp_adjtime() like other system calls:
- The functions that implement them and the argument names are
  prepended with "sys_".
- Optional systems calls are "UNIMPL" if the support is not being
  compiled into the kernel.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Sep 19 04:52:12 1996 UTC (27 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

renamed sys_getlogin to sys___getlogin.  required by libc namespace conventions

Revision 1.36 / (download) - annotate - [select for diffs], Sat Sep 7 14:16:42 1996 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Modify poll(2) prototype.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Sep 7 12:41:01 1996 UTC (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored)

Implement poll(2).

Revision 1.34 / (download) - annotate - [select for diffs], Fri Aug 9 10:30:23 1996 UTC (27 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 23 11:06:54 1996 UTC (27 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Implement setre[ug]id() compatibly with 4.3BSD, SunOS, and Linux.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 23 10:24:21 1996 UTC (27 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA
Branch point for: netbsd-1-2
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Add futimes(), at position 206.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Feb 27 04:20:41 1996 UTC (28 years, 1 month ago) by jonathan
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Add NTP kernel precision timekeeping from Dave Mill's xntp distribution
and the "kernel.tar.Z" distribution on louie.udel.edu, which is older than
xntp 3.4y or 3.5a, but contains newer kernel source fragments.

This commit adds support for a new kernel configuration option, NTP.
If NTP is selected, then the system clock should be run at "HZ", which
must be defined at compile time to be one value from:
  60, 64, 100, 128, 256, 512, 1024.

Powers of 2 are ideal; 60 and 100 are supported but are marginally less
accurate.

If NTP is not configured, there should be no change in behavior relative
to pre-NTP kernels.

These changes have been tested extensively with xntpd 3.4y on a decstation;
almost identical kernel mods work on an i386.  No pulse-per-second (PPS)
line discipline support is included, due to unavailability of hardware
to test it.

With this in-kernel PLL support for NetBSD, both xntp 3.4y and xntp
3.5a user-level code need minor changes. xntp's prototype for
syscall() is  correct for FreeBSD, but not for NetBSD.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Nov 22 23:07:29 1995 UTC (28 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

change definition of profil() to make it 64-bit friendly.  This has
no practical consequence on 32-bit systems.  old prototype was
int profil(char *, int, int, int), and new one is int profile(char *,
size_t, u_long, u_int).  the size_t is the size of the buffer,
and the u_long is the 'starting offset'.  (I changed the last int
to u_int, because it's treated as a u_int everywhere, and isn't
logically a signed value.)

Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 10 01:32:53 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.28: +52 -42 lines
Diff to previous 1.28 (colored)

Add aliases for all compat functions.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Oct 7 06:28:38 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +219 -201 lines
Diff to previous 1.27 (colored)

Prefix names of system call implementation functions with `sys_'.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 9 17:28:28 1995 UTC (29 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored)

Make memory map syscalls consistently use size_t.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jan 6 00:08:17 1995 UTC (29 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.25: +2 -6 lines
Diff to previous 1.25 (colored)

obsolete resuba, per ragge.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 14 16:29:57 1994 UTC (29 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Add undelete syscall, per CSRG.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 21 00:14:36 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Fix typos.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Oct 20 04:23:12 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.22: +355 -264 lines
Diff to previous 1.22 (colored)

update for new syscall args description mechanism

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 29 06:33:10 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 14 05:18:03 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

make getdtablesize COMPAT_43; should be COMPAT_44 or _09, but that has probs

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 8 11:28:45 1994 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +6 -7 lines
Diff to previous 1.19 (colored)

Update to 4.4-Lite fs code.

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 17 00:00:46 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.18: +6 -5 lines
Diff to previous 1.18 (colored)

add support for 'NCOMPAT' to deal with NetBSD compat defines

Revision 1.18 / (download) - annotate - [select for diffs], Sat May 7 00:39:06 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.17: +18 -22 lines
Diff to previous 1.17 (colored)

do the syscall shuffle.  this is most of the rest

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 1 05:02:24 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.16: +20 -10 lines
Diff to previous 1.16 (colored)

kill damned off_t weirdness, also upgrade get- and setrlimit.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 29 04:29:14 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

kill 'aliases'

Revision 1.15 / (download) - annotate - [select for diffs], Sat Apr 16 23:19:06 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.14: +9 -10 lines
Diff to previous 1.14 (colored)

start to phase out temp. off_t syscalls

Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 7 00:15:29 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

kill two LIBCOMPATs

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 2 08:03:17 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.12: +12 -10 lines
Diff to previous 1.12 (colored)

some temporary syscall shuffling

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 27 08:34:59 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.11: +15 -15 lines
Diff to previous 1.11 (colored)

do the syscall shuffle

Revision 1.11 / (download) - annotate - [select for diffs], Tue Mar 8 23:57:00 1994 UTC (30 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.10: +26 -16 lines
Diff to previous 1.10 (colored)

move LKM syscalls to 210 -> 219, and fix comment

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 12 19:28:21 1993 UTC (30 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

make syscall#0 "syscall", like in 4.4 (causes SYS_syscall to be defined)

Revision 1.6.4.3 / (download) - annotate - [select for diffs], Sun Nov 14 14:37:49 1993 UTC (30 years, 5 months ago) by cgd
Branch: magnum
Changes since 1.6.4.2: +9 -1 lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

update from trunk

Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 14 13:08:09 1993 UTC (30 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.8: +9 -1 lines
Diff to previous 1.8 (colored)

Add the System V message queue and semaphore facilities.  Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Wed Nov 10 00:52:35 1993 UTC (30 years, 5 months ago) by deraadt
Branch: magnum
Changes since 1.6.4.1: +2 -2 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored)

make syscall#0 "syscall", like in 4.4

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 2 09:51:40 1993 UTC (30 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

Put back the $'s in the RCS id that the last commit removed.

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Fri Sep 24 08:51:40 1993 UTC (30 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.6: +2 -6 lines
Diff to previous 1.6 (colored)

Make all files using spl*() #include cpu.h.  Changes from trunk.
init_main.c: New method of pseudo-device of initialization.
kern_clock.c: hardclock() and softclock() now take a pointer to a clockframe.
softclock() only does callouts.
kern_synch.c: Remove spurious declaration of endtsleep().  Adjust uses of
averunnable for new struct loadav.
subr_prf.c: Allow printf() formats in panic().
tty.c: averunnable changes.
vfs_subr.c: va_size and va_bytes are now quads.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Sep 19 18:55:41 1993 UTC (30 years, 7 months ago) by brezak
Branch: MAIN
CVS Tags: magnum-base
Changes since 1.6: +2 -6 lines
Diff to previous 1.6 (colored)

Add sysarch() syscall.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 7 19:52:42 1993 UTC (30 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Branch point for: magnum
Changes since 1.5: +38 -2 lines
Diff to previous 1.5 (colored)

add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 20 02:55:11 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

add $Id$ strings, and clean up file headers where necessary

Revision 1.4 / (download) - annotate - [select for diffs], Sun May 16 01:52:39 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

getpgrp actually takes void.  ask the IEEE...

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 6 10:48:34 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org>

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 10 20:27:10 1993 UTC (31 years ago) by glass
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

forgot to update syscalls.master.  the makesyscalls.sh generated stuff
is now updated

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 6 10:39:51 1993 UTC (31 years ago) by glass
Branch: MAIN

used by makesyscalls.sh to produce init_sysent.c, syscalls.c ../sys/syscall.h
edit this to add/delete/ifdef system calls

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>