>1) Is there a reason that lchmod() doesn't already exist that is
>deeper than "no one has had time"?

Perhaps because you can't chmod symlinks?  There no reason why it
can't exist.

>2) Is there a limit of 255 system calls?

No.  But we generally reuse empty slots in the table (there are only
235 entries on SPARC, e.g.,)

>3) To implement this functionality, would it be more appropriate to
>extend the chmod system call to have another parameter (FOLLOW,
>NO_FOLLOW), and implement chmod and lchmod as macros pointing to the
>old chmod syscall number?  I would expect that this would look
>something line the zone syscall (and several others) that have several
>different purposes to one syscall.

Well, you can't do that as macros, you can could do it in the syscall
wrapper.  Binary compatibility, and all that.

>4) I see mentions of indirect system calls, but no good description of
>them.  Is that where I should be focusing my attention?

No; indirect system calls are these where you call syscall 0 with the actual
syscall number as argument #1; so you need to actual syscall.


Casper
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to