t_fchownat.c (276478) | t_fchownat.c (277443) |
---|---|
1/* $NetBSD: t_fchownat.c,v 1.3 2013/03/17 04:46:06 jmmv Exp $ */ 2 3/*- 4 * Copyright (c) 2012 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Emmanuel Dreyfus. --- 27 unchanged lines hidden (view full) --- 36#include <fcntl.h> 37#include <limits.h> 38#include <paths.h> 39#include <stdio.h> 40#include <string.h> 41#include <unistd.h> 42#include <pwd.h> 43#include <sys/param.h> | 1/* $NetBSD: t_fchownat.c,v 1.3 2013/03/17 04:46:06 jmmv Exp $ */ 2 3/*- 4 * Copyright (c) 2012 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Emmanuel Dreyfus. --- 27 unchanged lines hidden (view full) --- 36#include <fcntl.h> 37#include <limits.h> 38#include <paths.h> 39#include <stdio.h> 40#include <string.h> 41#include <unistd.h> 42#include <pwd.h> 43#include <sys/param.h> |
44#ifdef __FreeBSD__ 45#include <sys/stat.h> 46#endif |
|
44 45#define DIR "dir" 46#define FILE "dir/fchownat" 47#define BASEFILE "fchownat" 48#define LINK "dir/symlink" 49#define BASELINK "symlink" 50#define FILEERR "dir/fchownaterr" 51#define USER "nobody" --- 196 unchanged lines hidden --- | 47 48#define DIR "dir" 49#define FILE "dir/fchownat" 50#define BASEFILE "fchownat" 51#define LINK "dir/symlink" 52#define BASELINK "symlink" 53#define FILEERR "dir/fchownaterr" 54#define USER "nobody" --- 196 unchanged lines hidden --- |