CVS log for src/sys/sys/un.h
Up to [cvs.NetBSD.org] / src / sys / sys
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Nov 8 19:27:13 2023 UTC (15 months ago) by jschauma
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +12 -4
lines
Use a #define for sockaddr_un.sun_path and add the historical context around
why it is set to 104. (struct sockaddr needed to fit into an mbuf)
From FreeBSD; no objections on current-users@.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Aug 8 20:54:49 2021 UTC (3 years, 6 months ago) by nia
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
netbsd-10-base,
netbsd-10-1-RELEASE,
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
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -1
lines
introduce a SOL_LOCAL for unix-domain socket level socket options
as an alias of the current 0 used for these options, as in FreeBSD.
reviewed by many.
Revision 1.58.14.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:17 2020 UTC (4 years, 2 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +1 -2
lines
Sync w/ HEAD.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Nov 6 14:50:13 2020 UTC (4 years, 3 months ago) by christos
Branches: MAIN
CVS tags: 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
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -2
lines
PR/55777: Ruslan Nikolaev: Move the unp_sysctl_create to uipc_usrreq.c to
facilitate splitting rump modules and does not require a dummy function.
Revision 1.57.16.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:17 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -1
lines
Sync with HEAD
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat May 5 19:58:08 2018 UTC (6 years, 9 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
netbsd-9-base,
netbsd-9-4-RELEASE,
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,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1
lines
bump PIPSIZ from 4 to 8K like FreeBSD and provide the same sysctls
Revision 1.46.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:21 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.46.12.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.12.1: +4 -2
lines
update from HEAD
Revision 1.55.4.2: download - view: text, markup, annotated - select for diffs
Fri Apr 22 15:44:19 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.55.4.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.4.1: +3 -2
lines
Sync with HEAD
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Apr 6 19:45:46 2016 UTC (8 years, 10 months ago) by roy
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-base,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
netbsd-8-base,
netbsd-8-3-RELEASE,
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,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -2
lines
Add sc_pid to sockcred so that SOCK_DGRAM and LOCAL_CREDS socket option
can learn the process id of the AF_LOCAL sender.
Add compat glue for old structure.
Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:30 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -2
lines
Sync with HEAD
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat May 2 17:18:04 2015 UTC (9 years, 9 months ago) by rtr
Branches: MAIN
CVS tags: nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -2
lines
make connect syscall use sockaddr_big and modify pr_{send,connect}
nam parameter type from buf * to sockaddr *.
final commit for parameter type changes to protocol user requests
* bump kernel version to 7.99.15 for parameter type changes to pr_{send,connect}
Revision 1.46.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:44 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +14 -23
lines
Rebase to HEAD as of a few days ago.
Revision 1.46.26.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:55 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +14 -23
lines
Rebase.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Aug 9 05:33:01 2014 UTC (10 years, 6 months ago) by rtr
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
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,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2
lines
split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq
switches and put into separate functions
- always KASSERT(solocked(so)) even if not implemented
(for PRU_CONNECT2 only)
- replace calls to pr_generic() with req = PRU_CONNECT2 with calls to
pr_connect2()
- replace calls to pr_generic() with req = PRU_PURGEIF with calls to
pr_purgeif()
put common code from unp_connect2() (used by unp_connect() into
unp_connect1() and call out to it when needed
patch only briefly reviewed by rmind@
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Aug 5 14:02:42 2014 UTC (10 years, 6 months ago) by rtr
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +10 -10
lines
whitespace
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Aug 5 05:24:27 2014 UTC (10 years, 6 months ago) by rtr
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2
lines
revert the removal of struct lwp * parameter from bind, listen and connect
user requests.
this should resolve the issue relating to nfs client hangs presented
recently by wiz on current-users@
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Jul 31 14:12:57 2014 UTC (10 years, 6 months ago) by rtr
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -11
lines
* remove declarations of unp_bind, unp_discard, unp_disconnect1, unp_drop,
unp_shutdown1, unp_internalize and unp_output functions from sys/un.h
and instead declare them as static in uipc_usrreq.c with prototype
declarations as necessary.
* remove struct lwp * parameter from unp_output() while here and just
use curlwp instead.
as discussed with rmind
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Jul 31 03:39:36 2014 UTC (10 years, 6 months ago) by rtr
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3
lines
split PRU_DISCONNECT, PRU_SHUTDOWN and PRU_ABORT function out of
pr_generic() usrreq switches and put into separate functions
xxx_disconnect(struct socket *)
xxx_shutdown(struct socket *)
xxx_abort(struct socket *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req =
PRU_{DISCONNECT,SHUTDOWN,ABORT}
with calls to pr_{disconnect,shutdown,abort}() respectively
rename existing internal functions used to implement above functionality
to permit use of the names for xxx_{disconnect,shutdown,abort}().
- {l2cap,sco,rfcomm}_disconnect() ->
{l2cap,sco,rfcomm}_disconnect_pcb()
- {unp,rip,tcp}_disconnect() -> {unp,rip,tcp}_disconnect1()
- unp_shutdown() -> unp_shutdown1()
patch reviewed by rmind
Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Jul 30 10:04:26 2014 UTC (10 years, 6 months ago) by rtr
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2
lines
split PRU_CONNECT function out of pr_generic() usrreq switches and put
into seaparate functions
xxx_listen(struct socket *, struct mbuf *)
- always KASSERT(solocked(so)) and KASSERT(nam != NULL)
- replace calls to pr_generic() with req = PRU_CONNECT with
pr_connect()
- rename existin {l2cap,sco,rfcomm}_connect() to
{l2cap,sco,rfcomm}_connect_pcb() respectively to permit
naming consistency with other protocols functions.
- drop struct lwp * parameter from unp_connect() and at_pcbconnect()
and use curlwp instead where appropriate.
patch reviewed by rmind
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jul 24 15:12:03 2014 UTC (10 years, 6 months ago) by rtr
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2
lines
split PRU_BIND and PRU_LISTEN function out of pr_generic() usrreq
switches and put into separate functions
xxx_bind(struct socket *, struct mbuf *)
xxx_listen(struct socket *)
- always KASSERT(solocked(so)) even if not implemented
- replace calls to pr_generic() with req = PRU_BIND with call to
pr_bind()
- replace calls to pr_generic() with req = PRU_LISTEN with call to
pr_listen()
- drop struct lwp * parameter from at_pcbsetaddr(), in_pcbbind() and
unp_bind() and always use curlwp.
rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_{bind,listen}() PRUs
- l2cap_{bind,listen}() -> l2cap_{bind,listen}_pcb()
- sco_{bind,listen}() -> sco_{bind,listen}_pcb()
- rfcomm_{bind,listen}() -> rfcomm_{bind,listen}_pcb()
patch reviewed by rmind
welcome to netbsd 6.99.48
Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon May 19 02:51:25 2014 UTC (10 years, 8 months ago) by rmind
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -3
lines
- Split off PRU_ATTACH and PRU_DETACH logic into separate functions.
- Replace malloc with kmem and eliminate M_PCB while here.
- Sprinkle more asserts.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun May 18 14:46:16 2014 UTC (10 years, 8 months ago) by rmind
Branches: MAIN
CVS tags: rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -3
lines
Add struct pr_usrreqs with a pr_generic function and prepare for the
dismantling of pr_usrreq in the protocols; no functional change intended.
PRU_ATTACH/PRU_DETACH changes will follow soon.
Bump for struct protosw. Welcome to 6.99.62!
Revision 1.46.16.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 15:21:49 2013 UTC (11 years, 5 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +5 -5
lines
Checkpoint work in progress:
- Initial split of the protocol user-request method into the following
methods: pr_attach, pr_detach and pr_generic for old the pr_usrreq.
- Adjust socreate(9) and sonewconn(9) to call pr_attach without the
socket lock held (as a preparation for the locking scheme adjustment).
- Adjust all pr_attach routines to assert that PCB is not set.
- Sprinkle various comments, document some routines and their locking.
- Remove M_PCB, replace with kmem(9).
- Fix few bugs spotted on the way.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Jun 26 16:43:12 2011 UTC (13 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
tls-earlyentropy,
rmind-smpnet
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2
lines
* Arrange for interfaces that create new file descriptors to be able to
set close-on-exec on creation (http://udrepper.livejournal.com/20407.html).
- Add F_DUPFD_CLOEXEC to fcntl(2).
- Add MSG_CMSG_CLOEXEC to recvmsg(2) for unix file descriptor passing.
- Add dup3(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
- Add pipe2(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
- Add flags SOCK_CLOEXEC, SOCK_NONBLOCK to the socket type parameter
for socket(2) and socketpair(2).
- Add new paccept(2) syscall that takes an additional sigset_t to alter
the sigmask temporarily and a flags argument to set SOCK_CLOEXEC,
SOCK_NONBLOCK.
- Add new mode character 'e' to fopen(3) and popen(3) to open pipes
and file descriptors for close on exec.
- Add new kqueue1(2) syscall with a new flags argument to open the
kqueue file descriptor with O_CLOEXEC, O_NONBLOCK.
* Fix the system calls that take socklen_t arguments to actually do so.
* Don't include userland header files (signal.h) from system header files
(rump_syscallargs.h).
* Bump libc version for the new syscalls.
Revision 1.44.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:23:04 2009 UTC (15 years, 9 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +1 -4
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:36 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -5
lines
sync with head.
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:53 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +1 -4
lines
Sync with HEAD.
Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 18 05:33:23 2009 UTC (15 years, 11 months ago) by snj
Branches: 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,
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-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-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +1 -4
lines
Pull up following revision(s) (requested by mrg in ticket #577):
sys/kern/kern_descrip.c: revision 1.188
sys/kern/uipc_usrreq.c: revision 1.121
sys/sys/fcntl.h: revision 1.35
sys/sys/file.h: revision 1.66
sys/sys/param.h: patch
sys/sys/un.h: revision 1.45
completely rework the way that orphaned sockets that are being fdpassed
via SCM_RIGHTS messages are dealt with:
1. unp_gc: make this a kthread.
2. unp_detach: go not call unp_gc directly. instead, wake up unp_gc kthread.
3. unp_scan: do not close files here. instead, put them on a global list
for unp_gc to close, along with a per-file "deferred close count". if
file is already enqueued for close, just increment deferred close count.
this eliminates the recursive calls.
3. unp_gc: scan files on global deferred close list. close each file N
times, as specified by deferred close count in file. continue processing
list until it becomes empty (closing may cause additional files to be
queued for close).
4. unp_gc: add additional bit to mark files we are scanning. set during
initial scan of global file list that currently clears FMARK/FDEFER.
during later scans, never examine / garbage collect descriptors that
we have not marked during the earlier scan. do not proceed with this
initial scan until all deferred closes have been processed. be careful
with locking to ensure no races are introduced between deferred close
and file scan.
5. unp_gc: use dummy file_t to mark position in list when scanning. allow
us to drop filelist_lock. in turn allows us to eliminate kmem_alloc()
and safely close files, etc.
6. prohibit transfer of descriptors within SCM_RIGHTS messages if
(num_files_in_transit > maxfiles / unp_rights_ratio)
7. fd_allocfile: ensure recycled filse don't get scanned.
this is 97% work done by andrew doran, with a couple of minor bug fixes
and a lot of testing by yours truly.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Mar 11 06:05:30 2009 UTC (15 years, 11 months ago) by mrg
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base7,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -4
lines
completely rework the way that orphaned sockets that are being fdpassed
via SCM_RIGHTS messages are dealt with:
1. unp_gc: make this a kthread.
2. unp_detach: go not call unp_gc directly. instead, wake up unp_gc kthread.
3. unp_scan: do not close files here. instead, put them on a global list
for unp_gc to close, along with a per-file "deferred close count". if
file is already enqueued for close, just increment deferred close count.
this eliminates the recursive calls.
3. unp_gc: scan files on global deferred close list. close each file N
times, as specified by deferred close count in file. continue processing
list until it becomes empty (closing may cause additional files to be
queued for close).
4. unp_gc: add additional bit to mark files we are scanning. set during
initial scan of global file list that currently clears FMARK/FDEFER.
during later scans, never examine / garbage collect descriptors that
we have not marked during the earlier scan. do not proceed with this
initial scan until all deferred closes have been processed. be careful
with locking to ensure no races are introduced between deferred close
and file scan.
5. unp_gc: use dummy file_t to mark position in list when scanning. allow
us to drop filelist_lock. in turn allows us to eliminate kmem_alloc()
and safely close files, etc.
6. prohibit transfer of descriptors within SCM_RIGHTS messages if
(num_files_in_transit > maxfiles / unp_rights_ratio)
7. fd_allocfile: ensure recycled filse don't get scanned.
this is 97% work done by andrew doran, with a couple of minor bug fixes
and a lot of testing by yours truly.
Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:18:10 2008 UTC (16 years, 3 months ago) by haad
Branches: haad-dm
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -2
lines
Sync with HEAD.
Revision 1.40.22.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:41:05 2008 UTC (16 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.40.22.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.22.2: +2 -1
lines
Sync with HEAD.
Revision 1.43.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:37:05 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +3 -2
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Aug 6 15:01:24 2008 UTC (16 years, 6 months ago) by plunky
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
nick-hppapmap-base2,
netbsd-5-base,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
mjf-devfs2-base,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5,
jym-xensuspend
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2
lines
Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.
approved by core
Revision 1.40.22.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:24:34 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.40.22.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.22.1: +8 -5
lines
Sync with HEAD.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:35:50 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +9 -6
lines
sync with head.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Apr 24 11:38:39 2008 UTC (16 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp,
wrstuden-revivesa,
haad-dm
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +9 -6
lines
Merge the socket locking patch:
- Socket layer becomes MP safe.
- Unix protocols become MP safe.
- Allows protocol processing interrupts to safely block on locks.
- Fixes a number of race conditions.
With much feedback from matt@ and plunky@.
Revision 1.40.22.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:43:13 2008 UTC (16 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3
lines
Sync with HEAD.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Mar 24 12:24:37 2008 UTC (16 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
ad-socklock-base1
Branch point for: yamt-pf42
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2
lines
merge yamt-lazymbuf branch.
Revision 1.40.18.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:29 2008 UTC (16 years, 10 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +2 -2
lines
sync with head.
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:11 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +2 -2
lines
sync with HEAD
Revision 1.36.12.5: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:37:05 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.4: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.12.4: +2 -2
lines
sync with head.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Feb 23 09:37:54 2008 UTC (16 years, 11 months ago) by is
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
hpcarm-cleanup-base
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2
lines
Fix comment. By Kris Katterjohn (from the tech-kern).
Revision 1.36.12.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:46:42 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.3: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.12.3: +12 -1
lines
sync with head.
Revision 1.39.14.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:28:22 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +12 -1
lines
Sync with HEAD.
Revision 1.39.28.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:03:57 2007 UTC (17 years, 6 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +12 -1
lines
Sync with HEAD.
Revision 1.39.24.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:51:05 2007 UTC (17 years, 6 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +12 -1
lines
Sync with HEAD.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Aug 9 15:23:01 2007 UTC (17 years, 6 months ago) by he
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
mjf-devfs-base,
mjf-devfs,
matt-armv6-prevmlocking,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs2,
matt-armv6,
keiichi-mipv6
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +12 -1
lines
Add a new socket option for unix domain sockets: LOCAL_PEEREID, to make
it possible to get the pid, euid and egid of the process at the remote
end at the time it did bind() or connect().
Add a new libc function, getpeereid() to easily get at the euid and egid.
As a consequence, bump libc's minor number.
Document the LOCAL_PEEREID socket option in unix(4).
Based on contribution by Arne H. Juul, minor modifications by myself.
Revision 1.36.12.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:56 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.12.2: +2 -2
lines
sync with head.
Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:59:42 2006 UTC (18 years, 5 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +2 -2
lines
sync with head
Revision 1.38.8.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:47:26 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +2 -2
lines
sync with head
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:14 2006 UTC (18 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
thorpej-atomic-base,
thorpej-atomic,
rpaulo-netinet-merge-pcb-base,
reinoud-bufcleanup,
post-newlock2-merge,
nick-csl-alignment-base,
newlock2-nbase,
newlock2-base,
newlock2,
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,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-nb4-arm-base,
matt-nb4-arm,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: vmlocking,
nick-csl-alignment,
jmcneill-pm
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2
lines
Use the LWP cached credentials where sane.
Revision 1.36.12.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:04 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36.12.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.12.1: +7 -7
lines
sync with head.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Dec 26 18:41:36 2005 UTC (19 years, 1 month ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: yamt-pdpolicy,
rpaulo-netinet-merge-pcb
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
u_intN_t -> uintN_t
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:21 2005 UTC (19 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -6
lines
merge ktrace-lwp.
Revision 1.36.12.1: download - view: text, markup, annotated - select for diffs
Thu Jul 7 11:53:25 2005 UTC (19 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2
lines
adapt to mbuf.h changes.
Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:38:51 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.28.2.3: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.3: +6 -6
lines
Fix the sync with head I botched.
Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:56:31 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.28.2.2: preferred, colored
Changes since revision 1.28.2.2: +6 -6
lines
Sync with HEAD.
Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:33 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.28.2.1: preferred, colored
Changes since revision 1.28.2.1: +26 -25
lines
Sync with HEAD
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat May 22 22:52:17 2004 UTC (20 years, 8 months ago) by jonathan
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
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,
ktrace-lwp-base,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
Eliminate several uses of `curproc' from the socket-layer code and from NFS.
Add a new explicit `struct proc *p' argument to socreate(), sosend().
Use that argument instead of curproc. Follow-on changes to pass that
argument to socreate(), sosend(), and (*so->so_send)() calls.
These changes reviewed and independently recoded by Matt Thomas.
Changes to soreceive() and (*dom->dom_exernalize() from Matt Thomas:
pass soreceive()'s struct uio* uio->uio_procp to unp_externalize().
Eliminate curproc from unp_externalize. Also, now soreceive() uses
its uio->uio_procp value, pass that same value downward to
((pr->pru_usrreq)() calls for consistency, instead of (struct proc * )0.
Similar changes in sys/nfs to eliminate (most) uses of curproc,
either via the req-> r_procp field of a struct nfsreq *req argument,
or by passing down new explicit struct proc * arguments.
Reviewed by: Matt Thomas, posted to tech-kern.
NB: The (*pr->pru_usrreq)() change should be tested on more (all!) protocols.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Apr 18 21:43:45 2004 UTC (20 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -1
lines
Move uipc_usrreq and uipc_ctloutput to <sys/un.h> from <sys/socketvar.h>
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Apr 18 18:48:03 2004 UTC (20 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +20 -20
lines
De __P()
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Nov 29 10:02:42 2003 UTC (21 years, 2 months ago) by matt
Branches: 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
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -2
lines
Restore a change that made AF_LOCAL sockets block on connect(2) until
accepted. However, this time this behavor is not the default. Instead
it must enabled by using the LOCAL_CONNWAIT socket option on either the
connecting or accepting socket.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Nov 29 06:14:03 2003 UTC (21 years, 2 months ago) by perry
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -1
lines
Revert a change that altered the semantics of AF_LOCAL sockets. Sadly
this made us API incompatible with other Unixes.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Sep 3 21:30:13 2003 UTC (21 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2
lines
Change the behavor of AF_LOCAL connect() to sleep until the server has
accepted the connection. This can prevent a client from overwhelming a
server.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:34:21 2003 UTC (21 years, 6 months ago) by agc
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -6
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Jul 8 06:18:01 2003 UTC (21 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +12 -12
lines
prototype must not have variable name
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:27:18 2003 UTC (21 years, 7 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:32:30 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:22:23 2003 UTC (21 years, 7 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Apr 28 23:16:31 2003 UTC (21 years, 9 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -3
lines
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.
This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
!defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.
I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them. In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.
Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:39 2000 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +11 -4
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Jul 28 09:33:29 2000 UTC (24 years, 6 months ago) by kleink
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base,
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,
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,
nathanw_sa_end,
nathanw_sa_before_merge,
nathanw_sa_base,
nathanw_sa,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
kqueue,
ifpoll-base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
gehenna-devsw-base,
gehenna-devsw,
fvdl_fs64_base,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2
lines
Avoid recursion with traditional cpp.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jun 26 15:48:21 2000 UTC (24 years, 7 months ago) by kleink
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +9 -2
lines
XNS5.2: define sa_family_t and use it where specified by the standard.
Revision 1.22.10.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:10:30 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +4 -4
lines
Sync w/ netbsd-1-5-base.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jun 8 19:01:45 2000 UTC (24 years, 8 months ago) by danw
Branches: 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
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4
lines
Use _POSIX_SOURCE-safe type names
Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 1 23:50:37 1999 UTC (25 years, 7 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +5 -1
lines
Sync w/ -current.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Jun 24 14:07:44 1999 UTC (25 years, 7 months ago) by kleink
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
minoura-xpg4dl-base,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase,
chs-ubc2-base
Branch point for: thorpej_scsipi,
minoura-xpg4dl
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -1
lines
Name space protection.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Mar 22 17:54:38 1999 UTC (25 years, 10 months ago) by sommerfe
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2
lines
Disallow descriptor-passing of descriptors which are open on
directories which aren't under the recipient's root.
Clean up of many error conditions involving descriptor passing, to
eliminate infinite loops, panics, premature garbage collection of
sockets, and descriptor leaks:
- Avoid letting unp_gc() see descriptors with a refcount of zero by
removing them from the socket's queue before releasing them.
- Avoid socket leak in PRU_ABORT (this will also gc descriptors queued
on a not-yet accepted socket when the accepting socket goes away).
- Put in block comment explaining how unp_gc() should work.
- Correctly manage unp_defer count so we don't get stuck in an infinite
loop with nothing to do.
- Don't tie MARK and DEFER bits so closely together.
- Mark descriptors queued on not-yet-accepted sockets as well.
- Don't call sorflush on non-socket, it doesn't work very well.
- Deal with discard of NULL file pointer.
- Hopefully cause GC to converge faster by only deferring sockets in
unp_mark().
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Mar 10 12:58:00 1999 UTC (25 years, 11 months ago) by kleink
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
Un-nest __P().
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jul 18 05:04:38 1998 UTC (26 years, 7 months ago) by lukem
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
eeh-paddr_t-base,
eeh-paddr_t,
chs-ubc-base,
chs-ubc
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
use AF_LOCAL instead of AF_UNIX
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:24:15 1998 UTC (26 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Merge with Lite2 + local changes
Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:13:57 1998 UTC (26 years, 11 months ago) by fvdl
Branches: WFJ-920714,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +19 -4
lines
Import 4.4BSD-Lite2
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:11:14 1998 UTC (26 years, 11 months ago) by fvdl
Branches: WFJ-920714,
CSRG
CVS tags: lite-1,
date-03-may-96
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +3 -3
lines
Import 4.4BSD-Lite for reference
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jan 7 22:49:12 1998 UTC (27 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -2
lines
Define the LOCAL_CREDS socket option, and pass a proc * to unp_output().
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 21:26:17 1997 UTC (27 years, 11 months ago) by is
Branches: is-newarp
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +2 -2
lines
Merge in changes from Trunk
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Feb 27 05:46:37 1997 UTC (27 years, 11 months ago) by mikel
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
netbsd-1-3-base,
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,
netbsd-1-3,
marc-pcmcia-bp,
marc-pcmcia-base,
marc-pcmcia,
is-newarp-before-merge,
bouyer-scsipi
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
update comment corresponding to sun_len; legacy code usually fails to
include a terminating NUL character for sun_path. fixes PR 3035.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Feb 25 20:04:19 1997 UTC (27 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1
lines
Back out the last commit:
>date: 1997/02/20 06:43:48; author: mikel; state: Exp; lines: +2 -2
>include terminating null in count returned by SUN_LEN macro; from
> Enami Tsugutomo in PR kern/3035.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Feb 20 06:43:48 1997 UTC (27 years, 11 months ago) by mikel
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
include terminating null in count returned by SUN_LEN macro; from
Enami Tsugutomo in PR kern/3035.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jan 22 07:09:28 1997 UTC (28 years ago) by mikel
Branches: MAIN
CVS tags: mrg-vm-swap,
is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -1
lines
add multiple inclusion protection
Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Wed Dec 11 03:32:55 1996 UTC (28 years, 2 months ago) by mycroft
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -1
lines
From trunk:
Eliminate SS_PRIV; instead, pass down a proc pointer to the usrreq methods
that need it.
Fix numerous memory leaks and bogus return values.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue May 28 23:23:04 1996 UTC (28 years, 8 months ago) by pk
Branches: MAIN
CVS tags: thorpej-setroot
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1
lines
Prototype new unp_*() functions.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Feb 4 02:12:47 1996 UTC (29 years ago) by christos
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -4
lines
Fix some missing/wrong prototypes so that kern/* compiles again
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 26 20:25:02 1995 UTC (29 years, 10 months ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4
lines
KERNEL -> _KERNEL
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jan 8 23:57:47 1995 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
add a sprinkling of comments.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:46:05 1994 UTC (30 years, 7 months ago) by cgd
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1
lines
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jun 27 19:32:37 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
new standard, minimally intrusive ID format
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri May 13 06:12:14 1994 UTC (30 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -12
lines
Update to 4.4-Lite networking code, with a few local changes.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed May 4 09:08:33 1994 UTC (30 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -3
lines
Add some more prototypes.
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Wed Nov 10 19:57:02 1993 UTC (31 years, 3 months ago) by mycroft
Branches: magnum
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3
lines
Remove remaining references to `UNIX'.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jun 27 05:59:12 1993 UTC (31 years, 7 months ago) by andrew
Branches: MAIN
CVS tags: wnvm,
nvm-base,
nvm,
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,
magnum-base
Branch point for: magnum
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +14 -2
lines
ANSIfications - lots of function prototyping.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 20 16:23:40 1993 UTC (31 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
add rcs ids as necessary, and also clean up headers
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Apr 19 01:23:37 1993 UTC (31 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -0
lines
Add consistent multiple-inclusion protection.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 11 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8,
WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 11 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>