<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sbin/mount/mount.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sbin/mount/mount.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sbin/mount/mount.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-07-19T15:13:17Z</updated>
<entry>
<title>Adapt to POSIX realpath(3); if it returns NULL, use the mount path as-is.</title>
<updated>2019-07-19T15:13:17Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2019-07-19T15:13:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f92c691b22a09036b02521d42d84b0278f0e41c3'/>
<id>urn:sha1:f92c691b22a09036b02521d42d84b0278f0e41c3</id>
<content type='text'>
Fixes an inability to mount via diskuid.
Also use mntpath, not *argv, on error for more accurate messages.
OK martijn@ mlarkin@
</content>
</entry>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:32:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df69c215c7c66baf660f3f65414fd34796c96152'/>
<id>urn:sha1:df69c215c7c66baf660f3f65414fd34796c96152</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>Postpone pledge call until after the getopt switch and hoist the call to</title>
<updated>2017-02-06T17:15:56Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2017-02-06T17:15:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=537019ec48772f25a57a6c7ddfbd851cb21a1924'/>
<id>urn:sha1:537019ec48772f25a57a6c7ddfbd851cb21a1924</id>
<content type='text'>
readlabelfs over it. This avoids a pledge abort due to the fact that the
ioctl DIOCGDINFO may not be allowed on the given file: mount /dev/tty /tmp.

ok benno
</content>
</entry>
<entry>
<title>Some simple cleanup:</title>
<updated>2017-01-25T02:33:25Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2017-01-25T02:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0987de4e809ba154021d2c916fb9d070d904c30d'/>
<id>urn:sha1:0987de4e809ba154021d2c916fb9d070d904c30d</id>
<content type='text'>
* check strdup for malloc failure
* remove obvious /* NOTREACHED */
* return instead of exit from main
* err(1, NULL) instead of err(1, "malloc")
* mark usage as __dead

ok deraadt
</content>
</entry>
<entry>
<title>whitespace</title>
<updated>2017-01-24T23:41:44Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2017-01-24T23:41:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=81e43f51e2f4ba3f13af7318107ec4e530a419fd'/>
<id>urn:sha1:81e43f51e2f4ba3f13af7318107ec4e530a419fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a noperm mount flag for FFS to be used for building release sets</title>
<updated>2016-09-10T16:53:30Z</updated>
<author>
<name>natano</name>
<email>natano@openbsd.org</email>
</author>
<published>2016-09-10T16:53:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4fd6a335bbd57f745d661e5b0ab3d53568775f0d'/>
<id>urn:sha1:4fd6a335bbd57f745d661e5b0ab3d53568775f0d</id>
<content type='text'>
without root privileges. This is only the kernel/mount flag; additional
work in the build Makefile's will be necessary such that the files in
$DESTDIR are created with correct permissions.

tedu couldn't find anything wrong with it in a quick review
idea &amp; ok deraadt
</content>
</entry>
<entry>
<title>strlen + malloc + snprintf == asprintf</title>
<updated>2016-09-04T19:45:27Z</updated>
<author>
<name>akfaew</name>
<email>akfaew@openbsd.org</email>
</author>
<published>2016-09-04T19:45:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b23972d63a1daa7c1229ba4f30420bb5cb9b9446'/>
<id>urn:sha1:b23972d63a1daa7c1229ba4f30420bb5cb9b9446</id>
<content type='text'>
ok martijn@ deraadt@
</content>
</entry>
<entry>
<title>somebody forgot to look at format string warnings</title>
<updated>2016-06-26T19:53:40Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2016-06-26T19:53:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3889518196ec6c6273131848dd7231f52f754b51'/>
<id>urn:sha1:3889518196ec6c6273131848dd7231f52f754b51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a bit more verbosity to tmpfs mount(8) output.</title>
<updated>2016-06-20T08:36:36Z</updated>
<author>
<name>ajacoutot</name>
<email>ajacoutot@openbsd.org</email>
</author>
<published>2016-06-20T08:36:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8ff76a203c2b063158e416f739759ff2ed4763ea'/>
<id>urn:sha1:8ff76a203c2b063158e416f739759ff2ed4763ea</id>
<content type='text'>
ok millert@
feedback/ok natano@
</content>
</entry>
<entry>
<title>W^X violations are no longer permitted by default.  A kernel log message</title>
<updated>2016-05-27T19:45:04Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2016-05-27T19:45:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9f25ea0444789356f96f36dfcfb511298f4ea099'/>
<id>urn:sha1:9f25ea0444789356f96f36dfcfb511298f4ea099</id>
<content type='text'>
is generated, and mprotect/mmap return ENOTSUP.  If the sysctl(8) flag
kern.wxabort is set then a SIGABRT occurs instead, for gdb use or coredump
creation.

W^X violating programs can be permitted on a ffs/nfs filesystem-basis,
using the "wxallowed" mount option.  One day far in the future
upstream software developers will understand that W^X violations are a
tremendously risky practice and that style of programming will be
banished outright.  Until then, we recommend most users need to use the
wxallowed option on their /usr/local filesystem.  At least your other
filesystems don't permit such programs.

ok jca kettenis mlarkin natano
</content>
</entry>
</feed>
