mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 06:22:24 +01:00
57718be8fa
minus the vendor Makefiles Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
29 lines
428 B
C
29 lines
428 B
C
#include <sys/types.h>
|
|
|
|
#include <rump/rump.h>
|
|
#include <rump/rump_syscalls.h>
|
|
|
|
#include <atf-c.h>
|
|
|
|
ATF_TC(extattrctl_namei);
|
|
ATF_TC_HEAD(extattrctl_namei, tc)
|
|
{
|
|
|
|
atf_tc_set_md_var(tc, "descr", "extattrctl namei safety (kern/43328)");
|
|
}
|
|
|
|
ATF_TC_BODY(extattrctl_namei, tc)
|
|
{
|
|
|
|
rump_init();
|
|
|
|
rump_sys_extattrctl("/anyfile", 0, "/", 0, 0);
|
|
}
|
|
|
|
ATF_TP_ADD_TCS(tp)
|
|
{
|
|
ATF_TP_ADD_TC(tp, extattrctl_namei);
|
|
|
|
return atf_no_error();
|
|
}
|