diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-10-27 13:06:27 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-10-27 13:06:27 +0000 |
commit | 0545a864a6e98637ff6d2f3cd3c8e85ae311d4e6 (patch) | |
tree | 350f2dcf3b5c67cc39588c710950faa65791b1ae /config_h.SH | |
parent | a68015de2b97756a748d63e3a1fe7ff73ca9ba54 (diff) | |
download | perl-0545a864a6e98637ff6d2f3cd3c8e85ae311d4e6.tar.gz |
Nosuid checking for statfs() people: from Spider Boardman.
p4raw-id: //depot/cfgperl@4465
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 55 |
1 files changed, 47 insertions, 8 deletions
diff --git a/config_h.SH b/config_h.SH index a0be5e36a5..a12916e59e 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2198,6 +2198,11 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$d_fseeko HAS_FSEEKO /**/ +/* HAS_FSTATFS: + * This symbol, if defined, indicates that the fstatfs routine is + * available to stat filesystems by file descriptors. + */ +#$d_fstatfs HAS_FSTATFS /**/ /* HAS_FTELLO: * This symbol, if defined, indicates that the ftello routine is * available to ftell beyond 32 bits (useful for ILP32 hosts). @@ -2273,20 +2278,31 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$d_sqrtl HAS_SQRTL /**/ -/* HAS_FSTATFS: - * This symbol, if defined, indicates that the fstatfs routine is - * available to stat filesystems by file descriptors. +/* HAS_STATFS: + * This symbol, if defined, indicates that the statfs routine is + * available to stat filesystems by filenames. + */ +/* HAS_STRUCT_STATFS: + * This symbol, if defined, indicates that the struct statfs + * to do statfs() is supported. + */ +/* HAS_STRUCT_FS_DATA: + * This symbol, if defined, indicates that the struct fs_data + * to do statfs() is supported. */ -/* HAS_STRUCT_STATFS_FLAGS: +/* HAS_STRUCT_STATFS_F_FLAGS: * This symbol, if defined, indicates that the struct statfs * does have the f_flags member containing the mount flags of - * the filesystem holding the file. + * the filesystem containing the file. * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not - * have statfs() and struct statfs, they have getmnt(). + * have statfs() and struct statfs, they have ustat() and statfs() + * with struct fs_data. */ -#$d_fstatfs HAS_FSTATFS /**/ -#$d_statfsflags HAS_STRUCT_STATFS_FLAGS /**/ +#$d_statfs HAS_STATFS /**/ +#$d_statfs_s HAS_STRUCT_STATFS /**/ +#$d_fs_data_s HAS_STRUCT_FS_DATA /**/ +#$d_statfs_f_flags HAS_STRUCT_STATFS_F_FLAGS /**/ /* HAS_FSTATVFS: * This symbol, if defined, indicates that the fstatvfs routine is @@ -2302,6 +2318,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$d_telldirproto HAS_TELLDIR_PROTO /**/ +/* HAS_USTAT: + * This symbol, if defined, indicates that the ustat system call is + * available to query file system statistics by dev_t. + */ +#$d_ustat HAS_USTAT /**/ + /* HAS_WRITEV: * This symbol, if defined, indicates that the writev routine is * available to do scatter writes. @@ -2395,12 +2417,29 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$i_sysmount I_SYS_MOUNT /**/ +/* I_SYS_STATFS: + * This symbol, if defined, indicates that <sys/statfs.h> exists. + */ +#$i_sysstatfs I_SYS_STATFS /**/ + /* I_SYS_STATVFS: * This symbol, if defined, indicates that <sys/statvfs.h> exists and * should be included. */ #$i_sysstatvfs I_SYS_STATVFS /**/ +/* I_SYS_VFS: + * This symbol, if defined, indicates that <sys/vfs.h> exists and + * should be included. + */ +#$i_sysvfs I_SYS_VFS /**/ + +/* I_USTAT: + * This symbol, if defined, indicates that <ustat.h> exists and + * should be included. + */ +#$i_ustat I_USTAT /**/ + /* HAS_OFF64_T: * This symbol will be defined if the C compiler supports off64_t. */ |