One could go to the OpenSolaris folks and see if you can't get AFS officially allocated a syscall table entry that can be published in name_to_sysnum in future versions.

The problem with it moving around in Solaris, is that AFS would choose one, then that one would be used by something else in the next release. It'd be nice to peg it down and get it over with. ;)

-rob

On Apr 9, 2007, at 11:30, Derrick J Brashear wrote:

On Mon, 9 Apr 2007, chas williams - CONTRACTOR wrote:

In message <Pine.GSO. [EMAIL PROTECTED]>,Derr
ick J Brashear writes:
Me either but we took what we were offered, I think.

The problem with probing for a free number is, well, if everyone does it I
end up with a set of machines each of which may have a different AFS
syscall number. Ew.

sigh. and everyone knows that if i syscall(XYZ) its afs. but on solaris:

well, i think strace might actually know. but i'm unsure.

#ifdef SUNOSX
#define SYSCALL N1
#elif SUNOSY
#define SYSCALL N2
#elif SUNOSZ
#define SYSCALL N3
...
#endif

how pretty.  should the user care what the syscall number is?

not really. how often do users write utilities, though? or do you mean the editing name_to_sysnum? Well, the admin does it once and then it's done.

afs utilities could handle probing automatically.  i know external
programs will have a problem but afs can always first try to put the
syscall in an expected slot.

well, at least we can do it here and no one is trying to hide the damn sys call table.

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to