The NetBSD Project

CVS log for src/sys/sys/un.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.57.16.1 / (download) - annotate - [select for diffs], Mon May 21 04:36:17 2018 UTC (2 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Sat May 5 19:58:08 2018 UTC (2 years, 5 months ago) by christos
Branch: 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-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, HEAD
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored)

bump PIPSIZ from 4 to 8K like FreeBSD and provide the same sysctls

Revision 1.46.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:21 2017 UTC (2 years, 10 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.46.12.1: +4 -2 lines
Diff to previous 1.46.12.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

update from HEAD

Revision 1.55.4.2 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:19 2016 UTC (4 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.55.4.1: +3 -2 lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with HEAD

Revision 1.57 / (download) - annotate - [select for diffs], Wed Apr 6 19:45:46 2016 UTC (4 years, 6 months ago) by roy
Branch: 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-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
Changes since 1.56: +3 -2 lines
Diff to previous 1.56 (colored)

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) - annotate - [select for diffs], Sat Jun 6 14:40:30 2015 UTC (5 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Sat May 2 17:18:04 2015 UTC (5 years, 5 months ago) by rtr
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored)

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) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (6 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.46: +14 -23 lines
Diff to previous 1.46 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.46.26.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:55 2014 UTC (6 years, 2 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.46: +14 -23 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Rebase.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Aug 9 05:33:01 2014 UTC (6 years, 2 months ago) by rtr
Branch: 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
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

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) - annotate - [select for diffs], Tue Aug 5 14:02:42 2014 UTC (6 years, 2 months ago) by rtr
Branch: MAIN
Changes since 1.53: +10 -10 lines
Diff to previous 1.53 (colored)

whitespace

Revision 1.53 / (download) - annotate - [select for diffs], Tue Aug 5 05:24:27 2014 UTC (6 years, 2 months ago) by rtr
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

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) - annotate - [select for diffs], Thu Jul 31 14:12:57 2014 UTC (6 years, 2 months ago) by rtr
Branch: MAIN
Changes since 1.51: +2 -11 lines
Diff to previous 1.51 (colored)

* 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) - annotate - [select for diffs], Thu Jul 31 03:39:36 2014 UTC (6 years, 2 months ago) by rtr
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

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) - annotate - [select for diffs], Wed Jul 30 10:04:26 2014 UTC (6 years, 2 months ago) by rtr
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

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) - annotate - [select for diffs], Thu Jul 24 15:12:03 2014 UTC (6 years, 3 months ago) by rtr
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

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) - annotate - [select for diffs], Mon May 19 02:51:25 2014 UTC (6 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.47: +2 -3 lines
Diff to previous 1.47 (colored)

- 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) - annotate - [select for diffs], Sun May 18 14:46:16 2014 UTC (6 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.46: +4 -3 lines
Diff to previous 1.46 (colored)

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) - annotate - [select for diffs], Wed Aug 28 15:21:49 2013 UTC (7 years, 1 month ago) by rmind
Branch: rmind-smpnet
Changes since 1.46: +5 -5 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

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) - annotate - [select for diffs], Sun Jun 26 16:43:12 2011 UTC (9 years, 3 months ago) by christos
Branch: 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
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

* 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) - annotate - [select for diffs], Wed May 13 17:23:04 2009 UTC (11 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.44: +1 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

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

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:36 2009 UTC (11 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.43: +3 -5 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

sync with head.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:53 2009 UTC (11 years, 5 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.44: +1 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Wed Mar 18 05:33:23 2009 UTC (11 years, 7 months ago) by snj
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, 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
Changes since 1.44: +1 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

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) - annotate - [select for diffs], Wed Mar 11 06:05:30 2009 UTC (11 years, 7 months ago) by mrg
Branch: 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
Changes since 1.44: +1 -4 lines
Diff to previous 1.44 (colored)

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) - annotate - [select for diffs], Sun Oct 19 22:18:10 2008 UTC (12 years ago) by haad
Branch: haad-dm
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.40.22.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:05 2008 UTC (12 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.40.22.2: +2 -1 lines
Diff to previous 1.40.22.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:05 2008 UTC (12 years, 1 month ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Aug 6 15:01:24 2008 UTC (12 years, 2 months ago) by plunky
Branch: 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
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Mon Jun 2 13:24:34 2008 UTC (12 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40.22.1: +8 -5 lines
Diff to previous 1.40.22.1 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:50 2008 UTC (12 years, 5 months ago) by yamt
Branch: yamt-pf42
Changes since 1.42: +9 -6 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Apr 24 11:38:39 2008 UTC (12 years, 6 months ago) by ad
Branch: 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
Changes since 1.42: +9 -6 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Thu Apr 3 12:43:13 2008 UTC (12 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Mar 24 12:24:37 2008 UTC (12 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

merge yamt-lazymbuf branch.

Revision 1.40.18.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:29 2008 UTC (12 years, 7 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

sync with head.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:11 2008 UTC (12 years, 7 months ago) by matt
Branch: matt-armv6
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

sync with HEAD

Revision 1.36.12.5 / (download) - annotate - [select for diffs], Wed Feb 27 08:37:05 2008 UTC (12 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.4: +2 -2 lines
Diff to previous 1.36.12.4 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Feb 23 09:37:54 2008 UTC (12 years, 8 months ago) by is
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Fix comment. By Kris Katterjohn (from the tech-kern).

Revision 1.36.12.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:42 2007 UTC (13 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.3: +12 -1 lines
Diff to previous 1.36.12.3 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.39.14.1 / (download) - annotate - [select for diffs], Mon Aug 20 21:28:22 2007 UTC (13 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.39: +12 -1 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.39.28.1 / (download) - annotate - [select for diffs], Thu Aug 16 11:03:57 2007 UTC (13 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.39: +12 -1 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.39.24.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:51:05 2007 UTC (13 years, 2 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.39: +12 -1 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Aug 9 15:23:01 2007 UTC (13 years, 2 months ago) by he
Branch: 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
Changes since 1.39: +12 -1 lines
Diff to previous 1.39 (colored)

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) - annotate - [select for diffs], Sat Dec 30 20:50:56 2006 UTC (13 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.2: +2 -2 lines
Diff to previous 1.36.12.2 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:42 2006 UTC (14 years, 1 month ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:26 2006 UTC (14 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:14 2006 UTC (14 years, 3 months ago) by ad
Branch: 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
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Use the LWP cached credentials where sane.

Revision 1.36.12.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:04 2006 UTC (14 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.12.1: +7 -7 lines
Diff to previous 1.36.12.1 (colored) to branchpoint 1.36 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Dec 26 18:41:36 2005 UTC (14 years, 10 months ago) by perry
Branch: 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
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

u_intN_t -> uintN_t

Revision 1.37 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:21 2005 UTC (14 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.36: +6 -6 lines
Diff to previous 1.36 (colored)

merge ktrace-lwp.

Revision 1.36.12.1 / (download) - annotate - [select for diffs], Thu Jul 7 11:53:25 2005 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

adapt to mbuf.h changes.

Revision 1.28.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:51 2004 UTC (16 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.28.2.3: +6 -6 lines
Diff to previous 1.28.2.3 (colored) next main 1.29 (colored)

Fix the sync with head I botched.

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:31 2004 UTC (16 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.28.2.2: +6 -6 lines
Diff to previous 1.28.2.2 (colored)

Sync with HEAD.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:33 2004 UTC (16 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.28.2.1: +26 -25 lines
Diff to previous 1.28.2.1 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Sat May 22 22:52:17 2004 UTC (16 years, 5 months ago) by jonathan
Branch: 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
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

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) - annotate - [select for diffs], Sun Apr 18 21:43:45 2004 UTC (16 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.34: +5 -1 lines
Diff to previous 1.34 (colored)

Move uipc_usrreq and uipc_ctloutput to <sys/un.h> from <sys/socketvar.h>

Revision 1.34 / (download) - annotate - [select for diffs], Sun Apr 18 18:48:03 2004 UTC (16 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.33: +20 -20 lines
Diff to previous 1.33 (colored)

De __P()

Revision 1.33 / (download) - annotate - [select for diffs], Sat Nov 29 10:02:42 2003 UTC (16 years, 10 months ago) by matt
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.32: +3 -2 lines
Diff to previous 1.32 (colored)

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) - annotate - [select for diffs], Sat Nov 29 06:14:03 2003 UTC (16 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31 (colored)

Revert a change that altered the semantics of AF_LOCAL sockets. Sadly
this made us API incompatible with other Unixes.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Sep 3 21:30:13 2003 UTC (17 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

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) - annotate - [select for diffs], Thu Aug 7 16:34:21 2003 UTC (17 years, 2 months ago) by agc
Branch: MAIN
Changes since 1.29: +2 -6 lines
Diff to previous 1.29 (colored)

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) - annotate - [select for diffs], Tue Jul 8 06:18:01 2003 UTC (17 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.28: +12 -12 lines
Diff to previous 1.28 (colored)

prototype must not have variable name

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:27:18 2003 UTC (17 years, 3 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

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) - annotate - [select for diffs], Sun Jun 29 22:32:30 2003 UTC (17 years, 3 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

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) - annotate - [select for diffs], Sat Jun 28 14:22:23 2003 UTC (17 years, 4 months ago) by darrenr
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Mon Apr 28 23:16:31 2003 UTC (17 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

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) - annotate - [select for diffs], Mon Nov 20 18:11:39 2000 UTC (19 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22: +11 -4 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jul 28 09:33:29 2000 UTC (20 years, 3 months ago) by kleink
Branch: 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
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Avoid recursion with traditional cpp.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 26 15:48:21 2000 UTC (20 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.23: +9 -2 lines
Diff to previous 1.23 (colored)

XNS5.2: define sa_family_t and use it where specified by the standard.

Revision 1.22.10.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:10:30 2000 UTC (20 years, 4 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jun 8 19:01:45 2000 UTC (20 years, 4 months ago) by danw
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
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Use _POSIX_SOURCE-safe type names

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Thu Jul 1 23:50:37 1999 UTC (21 years, 3 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync w/ -current.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 24 14:07:44 1999 UTC (21 years, 4 months ago) by kleink
Branch: 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
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored)

Name space protection.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 22 17:54:38 1999 UTC (21 years, 7 months ago) by sommerfe
Branch: 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
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

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) - annotate - [select for diffs], Wed Mar 10 12:58:00 1999 UTC (21 years, 7 months ago) by kleink
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Un-nest __P().

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 18 05:04:38 1998 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

use AF_LOCAL instead of AF_UNIX

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:15 1998 UTC (22 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:57 1998 UTC (22 years, 7 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +19 -4 lines
Diff to previous 1.1.1.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:11:14 1998 UTC (22 years, 7 months ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +3 -3 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 7 22:49:12 1998 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +8 -2 lines
Diff to previous 1.16 (colored)

Define the LOCAL_CREDS socket option, and pass a proc * to unp_output().

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Wed Mar 12 21:26:17 1997 UTC (23 years, 7 months ago) by is
Branch: is-newarp
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Merge in changes from Trunk

Revision 1.16 / (download) - annotate - [select for diffs], Thu Feb 27 05:46:37 1997 UTC (23 years, 8 months ago) by mikel
Branch: 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
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Tue Feb 25 20:04:19 1997 UTC (23 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Thu Feb 20 06:43:48 1997 UTC (23 years, 8 months ago) by mikel
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

include terminating null in count returned by SUN_LEN macro; from
  Enami Tsugutomo in PR kern/3035.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 22 07:09:28 1997 UTC (23 years, 9 months ago) by mikel
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.12: +6 -1 lines
Diff to previous 1.12 (colored)

add multiple inclusion protection

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Wed Dec 11 03:32:55 1996 UTC (23 years, 10 months ago) by mycroft
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

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) - annotate - [select for diffs], Tue May 28 23:23:04 1996 UTC (24 years, 5 months ago) by pk
Branch: MAIN
CVS Tags: thorpej-setroot
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)

Prototype new unp_*() functions.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 4 02:12:47 1996 UTC (24 years, 8 months ago) by christos
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.10: +6 -4 lines
Diff to previous 1.10 (colored)

Fix some missing/wrong prototypes so that kern/* compiles again

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 26 20:25:02 1995 UTC (25 years, 7 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

KERNEL -> _KERNEL

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 8 23:57:47 1995 UTC (25 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

add a sprinkling of comments.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 29 06:46:05 1994 UTC (26 years, 4 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.7: +2 -1 lines
Diff to previous 1.7 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 27 19:32:37 1994 UTC (26 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

new standard, minimally intrusive ID format

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 13 06:12:14 1994 UTC (26 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +6 -12 lines
Diff to previous 1.5 (colored)

Update to 4.4-Lite networking code, with a few local changes.

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 4 09:08:33 1994 UTC (26 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +7 -3 lines
Diff to previous 1.4 (colored)

Add some more prototypes.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Wed Nov 10 19:57:02 1993 UTC (26 years, 11 months ago) by mycroft
Branch: magnum
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Remove remaining references to `UNIX'.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 27 05:59:12 1993 UTC (27 years, 4 months ago) by andrew
Branch: 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
Changes since 1.3: +14 -2 lines
Diff to previous 1.3 (colored)

ANSIfications - lots of function prototyping.

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 20 16:23:40 1993 UTC (27 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

add rcs ids as necessary, and also clean up headers

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 19 01:23:37 1993 UTC (27 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +5 -0 lines
Diff to previous 1.1 (colored)

Add consistent multiple-inclusion protection.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (27 years, 7 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (27 years, 7 months ago) by cgd
Branch: MAIN

Initial revision

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>