diff options
Diffstat (limited to 'usr/src/lib/libcmd/common/features/symlink')
-rw-r--r-- | usr/src/lib/libcmd/common/features/symlink | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/usr/src/lib/libcmd/common/features/symlink b/usr/src/lib/libcmd/common/features/symlink new file mode 100644 index 0000000000..a7d86b09f5 --- /dev/null +++ b/usr/src/lib/libcmd/common/features/symlink @@ -0,0 +1,21 @@ +lib lchmod note{ lchmod implemented }end execute{ + #include <unistd.h> + #include <errno.h> + int + main() + { + lchmod("No-FiLe", 0); + return errno != ENOENT; + } +}end + +lib lchown note{ lchown implemented }end execute{ + #include <unistd.h> + #include <errno.h> + int + main() + { + lchown("No-FiLe", 0, 0); + return errno != ENOENT; + } +}end |