History log of /netbsd-current/tests/fs/vfs/t_unpriv.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226
# 1.16 28-Nov-2018 hannken

Redo the access check for setting va_flags in zfs_netbsd_setattr().

Use user flag UF_NODUMP instead of UF_IMMUTABLE for the test as it
is the only user flag supported by all tested file systems.

PR kern/47656 test zfs_flags.


# 1.15 28-Nov-2018 hannken

Add missing access check for REMOVE into zfs_netbsd_lookup().

PR kern/47656 test zfs_dirperms.


# 1.14 28-Nov-2018 hannken

Add missing access check for setting va_Xtime into zfs_netbsd_setattr().

PR kern/47656 test zfs_times.


Revision tags: pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base
# 1.13 13-Jan-2017 christos

branches: 1.13.12;
Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.


Revision tags: pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.12 09-Apr-2015 riastradh

branches: 1.12.2;
Apparently I fixed t_unpriv:zfs_owner and didn't notice.


# 1.11 29-Aug-2014 gson

Don't pass an uninitialized variable as the times[] argument of
rump_sys_utimes(). Instead, pass combinations of values representing
edge cases: the farthest possible past, the epoch, and the farthest
possible future. Now the excessive runtime reported in PR bin/49144
occurs reliably, on multiple architectures, and not only with udf, but
also with msdosfs.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base tls-maxphys-base
# 1.10 16-Mar-2013 jmmv

Mark a bunch of routinely-broken ZFS tests as expected failures. Point
them at PR kern/47656.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
# 1.9 04-Apr-2012 njoly

branches: 1.9.2;
New testcase that check file flags with unprivileged credentials.


# 1.8 26-Mar-2012 njoly

Now that permissions for msdos have been fixed, kill times() special
case which was wrong.


# 1.7 23-Mar-2012 njoly

Extend times testcase to check for non null time values too.


# 1.6 15-Mar-2012 njoly

Add another testcase that check setting file times with unprivileged
credentials.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 1.5 09-Feb-2012 njoly

Add a testcase which checks that directory permissions are honored for
file creation/deletion with unprivileged credentials.

releng ok.


# 1.4 31-Jan-2012 njoly

owner testcase now succeed with rumpfs.


# 1.3 27-Jan-2012 njoly

unpriv owner test now pass for sysvbfs.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.2 08-Oct-2011 njoly

branches: 1.2.2;
USE_OWNER -> USES_OWNER for consistency with other macros.


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.1 06-Jan-2011 njoly

Start unprivileged filesystem tests. For now, only chown/chmod owner
checks.


# 1.13 13-Jan-2017 christos

Don't play with "../.." in includes for h_macros.h; deal with it centrally.
Minor fixes.


Revision tags: pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.12 09-Apr-2015 riastradh

Apparently I fixed t_unpriv:zfs_owner and didn't notice.


# 1.11 29-Aug-2014 gson

Don't pass an uninitialized variable as the times[] argument of
rump_sys_utimes(). Instead, pass combinations of values representing
edge cases: the farthest possible past, the epoch, and the farthest
possible future. Now the excessive runtime reported in PR bin/49144
occurs reliably, on multiple architectures, and not only with udf, but
also with msdosfs.


Revision tags: netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base tls-maxphys-base
# 1.10 16-Mar-2013 jmmv

Mark a bunch of routinely-broken ZFS tests as expected failures. Point
them at PR kern/47656.


Revision tags: yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6 yamt-pagecache-base5 yamt-pagecache-base4
# 1.9 04-Apr-2012 njoly

branches: 1.9.2;
New testcase that check file flags with unprivileged credentials.


# 1.8 26-Mar-2012 njoly

Now that permissions for msdos have been fixed, kill times() special
case which was wrong.


# 1.7 23-Mar-2012 njoly

Extend times testcase to check for non null time values too.


# 1.6 15-Mar-2012 njoly

Add another testcase that check setting file times with unprivileged
credentials.


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE matt-nb6-plus-nbase netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 netbsd-6-base
# 1.5 09-Feb-2012 njoly

Add a testcase which checks that directory permissions are honored for
file creation/deletion with unprivileged credentials.

releng ok.


# 1.4 31-Jan-2012 njoly

owner testcase now succeed with rumpfs.


# 1.3 27-Jan-2012 njoly

unpriv owner test now pass for sysvbfs.


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.2 08-Oct-2011 njoly

branches: 1.2.2;
USE_OWNER -> USES_OWNER for consistency with other macros.


Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
# 1.1 06-Jan-2011 njoly

Start unprivileged filesystem tests. For now, only chown/chmod owner
checks.