Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 May 2001 19:13:47 -0400
From:      Kazuo Horikawa <horikawa@psinet.com>
To:        doc@FreeBSD.org
Subject:   Questions/comments about description in VOP_XXX(9)
Message-ID:  <20010506191347G.horikawa@psinet.com>

next in thread | raw e-mail | index | archive | help
Hi,

During checking section 9 manpages translated into non-English
(Japanese), I had a couple of questions/comments about descriptions in
VOP_XXX(9).

I appreciate it, if someone could see whether my understanding is
correct or not.

Thanks in advance!

[1. what is `of possible' phrase]
  I found `of possible' phrase in most of VOP_XXX(9).
  I guess this phrase has similar meaning as `if possible'.  Is my
  understanding correct?

  For example, I could find following paragraph in VOP_SETACL(9):

     The cred pointer may be NULL to indicate that access control checks are
     not to be performed, of possible.  This cred setting might be used to al-
     low the kernel to authorize extended attribute changes that the active
     process might not be permitted to make.


[2. VOP_SETACL(9) says about extended attributed, instead of ACL]
  I am afraid that paragraph above contains typo, since VOP_SETACL(9)
  should deal with `ACL' instead of `named extended attribute.'
  If my understanding correct, how about applying following patch
  for VOP_SETACL(9)?

--- VOP_SETACL.9.orig   Sun May  6 18:11:47 2001
+++ VOP_SETACL.9        Sun May  6 18:21:47 2001
@@ -66,8 +66,8 @@
 pointer may be
 .Dv NULL
 to indicate that access control checks are not to be performed, of possible.
-This cred setting might be used to allow the kernel to authorize extended
-attribute changes that the active process might not be permitted to make.
+This cred setting might be used to allow the kernel to authorize ACL
+changes that the active process might not be permitted to make.
 .Pp
 The vnode ACL interface defines the syntax, and not semantics, of file and
 directory ACL interfaces.  More information about ACL management in kernel


[3. EOPNOTSUPP of VOP_SETEXTATTR(9) says about VOP_GETEXTATTR(9)]
  In VOP_SETEXTATTR(9), I think VOP_GETEXTATTR() should be replaced
  with VOP_SETEXTATTR().
  If my understanding correct, how about following patch for
  VOP_SETEXTATTR(9)?

--- VOP_SETEXTATTR.9.orig       Sun May  6 18:37:50 2001
+++ VOP_SETEXTATTR.9    Sun May  6 18:38:04 2001
@@ -103,7 +103,7 @@
 The name or uio argument is invalid
 .It Bq Er EOPNOTSUPP
 The file system does not support
-.Fn VOP_GETEXTATTR
+.Fn VOP_SETEXTATTR
 .It Bq Er ENOSPC
 The file system is out of space
 .It Bq Er EROFS
--
Kazuo Horikawa

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010506191347G.horikawa>