<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/gen/closedir.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/closedir.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/closedir.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2015-09-12T13:34:22Z</updated>
<entry>
<title>Wrap &lt;dirent.h&gt; so that internal calls go direct and they're all weak symbols</title>
<updated>2015-09-12T13:34:22Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-09-12T13:34:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=209e395206c9b2564b5720b7e81f09b0eb38e552'/>
<id>urn:sha1:209e395206c9b2564b5720b7e81f09b0eb38e552</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch time_t, ino_t, clock_t, and struct kevent's ident and data</title>
<updated>2013-08-13T05:52:02Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2013-08-13T05:52:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=91a535ff42f6347677741774730dc5ddcf7d5b93'/>
<id>urn:sha1:91a535ff42f6347677741774730dc5ddcf7d5b93</id>
<content type='text'>
members to 64bit types.  Assign new syscall numbers for (almost
all) the syscalls that involve the affected types, including anything
with time_t, timeval, itimerval, timespec, rusage, dirent, stat,
or kevent arguments.  Add a d_off member to struct dirent and replace
getdirentries() with getdents(), thus immensely simplifying and
accelerating telldir/seekdir.  Build perl with -DBIG_TIME.

Bump the major on every single base library: the compat bits included
here are only good enough to make the transition; the T32 compat
option will be burned as soon as we've reached the new world are
are happy with the snapshots for all architectures.

DANGER: ABI incompatibility.  Updating to this kernel requires extra
work or you won't be able to login: install a snapshot instead.

Much assistance in fixing userland issues from deraadt@ and tedu@
and build assistance from todd@ and otto@
</content>
</entry>
<entry>
<title>_FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, so</title>
<updated>2007-06-05T18:11:48Z</updated>
<author>
<name>kurt</name>
<email>kurt@openbsd.org</email>
</author>
<published>2007-06-05T18:11:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=45e14c381361430fbd1edeac8cedeeb0decb1480'/>
<id>urn:sha1:45e14c381361430fbd1edeac8cedeeb0decb1480</id>
<content type='text'>
isolate its usage to libpthread only and replace with generic non-static
mutex support in the one place it is needed:
 - remove _FD_LOCK/UNLOCK from lseek and ftruncate in libc and make the
   functions weak so that libpthread can override with its own new
   versions that do the locking.
 - remove _thread_fd_lock/unlock() weak functions from libc and adjust
   libpthread for the change.
 - add generic _thread_mutex_lock/unlock/destroy() weak functions in libc
   to support non-static mutexes in libc and add libpthread and librthread
   implementations for them. libc can utilize non-static mutexes via the
   new _MUTEX_LOCK/UNLOCK/DESTROY() macros. Actually these new macros can
   support both static and non-static mutexes but currently only using
   them for non-static.
 - make opendir/closedir/readdir/readdir_r/seekdir/telldir() thread-safe
   for both thread libraries by using a non-static mutex in the struct
   _dirdesc (typedef DIR), utilizing it in the *dir functions and remove
   remaining and incorrect _FD_LOCK/UNLOCK() use in libc.
 - add comments to both thread libraries to indicate libc depends on the
   current implementation of static mutex initialization. suggested by
   marc@
 - major bump libc and libpthread due to function removal, structure
   change and weak symbol conversions.
okay marc@, tedu@
</content>
</entry>
<entry>
<title>- Plug huge mem leak; mostly samba was suffering.</title>
<updated>2006-04-01T18:06:59Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2006-04-01T18:06:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3e18185e19be33c32bc49797a90a3e13be7554e7'/>
<id>urn:sha1:3e18185e19be33c32bc49797a90a3e13be7554e7</id>
<content type='text'>
- Fix semantics: seekdir(pos); telldir() shoud return pos. The code
that implements this will be made faster in a later commit.
- We loose documented behaviour (after closedir() the telldir()
positions are not valid anymore). This was never in Posix, and most
other systems have nothing like it.

Diff originally from Paul Thorn, rewritten by me using some FreeBSD
code.  "slap it in" deraadt@
</content>
</entry>
<entry>
<title>zap remaining rcsid.</title>
<updated>2005-08-08T08:05:33Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2005-08-08T08:05:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c2c925dec2134a12f472359f2a189e9a312dd721'/>
<id>urn:sha1:c2c925dec2134a12f472359f2a189e9a312dd721</id>
<content type='text'>
Kill old files that are no longer compiled.

okay theo
</content>
</entry>
<entry>
<title>ansification; checked by pval</title>
<updated>2003-06-11T21:03:09Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2003-06-11T21:03:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f723aa391085d188652b94aedd37f0dd94193fba'/>
<id>urn:sha1:f723aa391085d188652b94aedd37f0dd94193fba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the advertising clause in the UCB license which Berkeley</title>
<updated>2003-06-02T20:18:29Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2003-06-02T20:18:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6580fee3295c971a919cc04bfc3598c5f8bcd2b1'/>
<id>urn:sha1:6580fee3295c971a919cc04bfc3598c5f8bcd2b1</id>
<content type='text'>
rescinded 22 July 1999.  Proofed by myself and Theo.
</content>
</entry>
<entry>
<title>Add thread-safety to libc, so that libc_r will build (on i386 at least).</title>
<updated>1998-11-20T11:18:22Z</updated>
<author>
<name>d</name>
<email>d@openbsd.org</email>
</author>
<published>1998-11-20T11:18:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=92efb7350713770eeac379dc990eaecbee107aa1'/>
<id>urn:sha1:92efb7350713770eeac379dc990eaecbee107aa1</id>
<content type='text'>
All POSIX libc api now there (to P1003.1c/D10)
  (more md stuff is needed for other libc/arch/*)
  (setlogin is no longer a special syscall)
Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS).
Doc some re-entrant routines
Add libc_r to intro(3)
dig() uses some libc srcs and an extra -I was needed there.
Add more md stuff to libc_r.
Update includes for the pthreads api
Update libc_r TODO
</content>
</entry>
<entry>
<title>Fix RCS ids</title>
<updated>1996-08-19T08:10:10Z</updated>
<author>
<name>tholo</name>
<email>tholo@openbsd.org</email>
</author>
<published>1996-08-19T08:10:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e9b2b68ca3a6cce2632b4a73cc801bbb6f19c001'/>
<id>urn:sha1:e9b2b68ca3a6cce2632b4a73cc801bbb6f19c001</id>
<content type='text'>
Make sure everything uses {SYS,}LIBC_SCCS properly
</content>
</entry>
<entry>
<title>initial import of NetBSD tree</title>
<updated>1995-10-18T08:37:01Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>1995-10-18T08:37:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df930be708d50e9715f173caa26ffe1b7599b157'/>
<id>urn:sha1:df930be708d50e9715f173caa26ffe1b7599b157</id>
<content type='text'>
</content>
</entry>
</feed>
