/* libguestfs - the guestfsd daemon
- * Copyright (C) 2009 Red Hat Inc.
+ * Copyright (C) 2009 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
guestfs_int_stat *ret;
struct stat statbuf;
- NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
-
CHROOT_IN;
r = stat (path, &statbuf);
CHROOT_OUT;
guestfs_int_stat *ret;
struct stat statbuf;
- NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
-
CHROOT_IN;
r = lstat (path, &statbuf);
CHROOT_OUT;
guestfs_int_statvfs *ret;
struct statvfs statbuf;
- NEED_ROOT (NULL);
- ABS_PATH (path, NULL);
-
CHROOT_IN;
r = statvfs (path, &statbuf);
CHROOT_OUT;