<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/internal/syscallcompat/sys_common_test.go, branch xattr_user_buffer</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=xattr_user_buffer'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2021-06-05T13:06:30+00:00</updated>
<entry>
<title>syscallcompat: drop obsolete wrappers</title>
<updated>2021-06-05T13:06:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2021-06-05T13:06:30+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e48f2377ec46f247d4db04cf8031702d0684c086'/>
<id>urn:sha1:e48f2377ec46f247d4db04cf8031702d0684c086</id>
<content type='text'>
These are now available cross-platform in the unix
package.
</content>
</entry>
<entry>
<title>syscallcompat: add getxattr fastpaths</title>
<updated>2020-10-17T22:25:42+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-10-17T22:25:42+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c943ed32aaf94a4e60d96c7a513180d29b15a40a'/>
<id>urn:sha1:c943ed32aaf94a4e60d96c7a513180d29b15a40a</id>
<content type='text'>
The allocations from Lgetxattr were #1 in the tar extract
allocation profile (caused by security.capability lookups).
No more!

$ benchstat old.txt new.txt
name         old time/op  new time/op  delta
Lgetxattr-4  15.2µs ± 0%   1.8µs ± 0%   ~     (p=1.000 n=1+1)

$ ./benchmark.bash
Testing gocryptfs at /tmp/benchmark.bash.H8p: gocryptfs v2.0-beta1-4-g95ea738-dirty; go-fuse v2.0.4-0.20200908172753-0b6cbc515082 =&gt; github.com/rfjakob/go-fuse/v2 v2.0.4-0.20201015204057-88b12c99f8af; 2020-10-18 go1.15.3 linux/amd64
/tmp/benchmark.bash.H8p.mnt is a mountpoint
WRITE: 262144000 bytes (262 MB, 250 MiB) copied, 0,520109 s, 504 MB/s
READ:  262144000 bytes (262 MB, 250 MiB) copied, 0,255672 s, 1,0 GB/s
UNTAR: 30,238
MD5:   12,721
LS:    10,038
RM:    16,536
</content>
</entry>
<entry>
<title>syscallcompat: add Lgetxattr benchmark</title>
<updated>2020-10-16T18:04:22+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2020-10-16T17:59:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=83a324a46bec3332c078abc3a1986969c0f94fd2'/>
<id>urn:sha1:83a324a46bec3332c078abc3a1986969c0f94fd2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: reduce noise on MacOS</title>
<updated>2019-01-14T21:11:15+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-14T21:11:15+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=20140e24ed339ef97b4f3946da3b05f930898713'/>
<id>urn:sha1:20140e24ed339ef97b4f3946da3b05f930898713</id>
<content type='text'>
This should get rid of

    Openat: O_NOFOLLOW missing: flags = 0x0
    Fchmodat: adding missing AT_SYMLINK_NOFOLLOW flag
    sys_common_test.go:203: chmod on symlink should have failed, but did not. New mode=0333
    UnmountErr: "[...]/057376762.mnt" was not found in MountInfo, cannot check for FD leak

and add some context to

    --- FAIL: TestUtimesNano (0.00s)
    matrix_test.go:628: no such file or directory

See https://github.com/rfjakob/gocryptfs/pull/343#issuecomment-453888006
for full test output
</content>
</entry>
<entry>
<title>syscallcompat: fix FchmodatNofollow tests</title>
<updated>2019-01-14T20:57:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-14T20:57:24+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6542ddd2f9416e73f4ba18d9451601ea35af7ff3'/>
<id>urn:sha1:6542ddd2f9416e73f4ba18d9451601ea35af7ff3</id>
<content type='text'>
FchmodatNofollow dropped the flags parameter.
</content>
</entry>
<entry>
<title>syscallcompat: rework Fchmodat to FchmodatNofollow</title>
<updated>2019-01-14T20:54:16+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-14T20:54:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a7d59032d3790e117a48be6be1fb3a968266093b'/>
<id>urn:sha1:a7d59032d3790e117a48be6be1fb3a968266093b</id>
<content type='text'>
We never want Fchmodat to follow symlinks, so follow what
Qemu does, and call our function FchmodatNofollow.
</content>
</entry>
<entry>
<title>syscallcompat: Drop Fstatat emulation on macOS.</title>
<updated>2019-01-14T20:27:28+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-14T02:00:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a9d8eb49ef91c31fddc3e4f2f76e9b98e1a52a1d'/>
<id>urn:sha1:a9d8eb49ef91c31fddc3e4f2f76e9b98e1a52a1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syscallcompat: Drop Mkdirat emulation on macOS.</title>
<updated>2019-01-14T20:27:28+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-14T01:56:06+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4134ff7570906d38d519b1aad33cd3e97685e92f'/>
<id>urn:sha1:4134ff7570906d38d519b1aad33cd3e97685e92f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syscallcompat: Drop Symlinkat emulation on macOS.</title>
<updated>2019-01-14T20:27:28+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-14T01:51:50+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7b0d56fe98a4ae449d26af0b83d00271a179db6e'/>
<id>urn:sha1:7b0d56fe98a4ae449d26af0b83d00271a179db6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syscallcompat: Drop Unlinkat emulation on macOS.</title>
<updated>2019-01-14T20:27:28+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-14T01:38:34+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=229a9da74bc0839e2cd481f701c877708b080ede'/>
<id>urn:sha1:229a9da74bc0839e2cd481f701c877708b080ede</id>
<content type='text'>
</content>
</entry>
</feed>
