summaryrefslogtreecommitdiff
path: root/sys/isofs/cd9660
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-03-28 03:29:46 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-03-28 03:29:46 +0000
commit7f3b9e3bc6d1bf3735d920fc2a1a0928246b3143 (patch)
tree0aa1425db7a5ebb5ec5e9217909e9e73b676b196 /sys/isofs/cd9660
parent5db347204f2f2d0c33e0cf121e4067464540507a (diff)
Add support for _PC_TIMESTAMP_RESOLUTION for ffs/mfs, cd9600, ext2,
msdos, NFS, fifos and devices, plus support for querying it in getconf(2) and the requisite pathconf(2) manpage blurb ok tedu@
Diffstat (limited to 'sys/isofs/cd9660')
-rw-r--r--sys/isofs/cd9660/cd9660_vnops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c
index c0c16032058..90351762669 100644
--- a/sys/isofs/cd9660/cd9660_vnops.c
+++ b/sys/isofs/cd9660/cd9660_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vnops.c,v 1.58 2013/03/28 02:08:39 guenther Exp $ */
+/* $OpenBSD: cd9660_vnops.c,v 1.59 2013/03/28 03:29:44 guenther Exp $ */
/* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */
/*-
@@ -882,6 +882,9 @@ cd9660_pathconf(void *v)
case _PC_NO_TRUNC:
*ap->a_retval = 1;
break;
+ case _PC_TIMESTAMP_RESOLUTION:
+ *ap->a_retval = 1000000000; /* one billion nanoseconds */
+ break;
default:
error = EINVAL;
break;