[10601] in Athena Bugs
athena/athena.bin/attach/attach.h
daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Fri Jun 25 13:11:52 1993
From: brlewis@Athena.MIT.EDU
Date: Fri, 25 Jun 93 13:11:48 -0400
To: rel-eng@Athena.MIT.EDU, bugs@Athena.MIT.EDU
HP-UX has system calls to mount/unmount filesystems, but they don't
update /etc/mnttab. I don't know what things in hpux might depend on
that file.
*** /tmp/,RCSt1a18710 Fri Jun 25 13:09:38 1993
--- athena/athena.bin/attach/attach.h Mon Jun 7 18:31:23 1993
***************
*** 75,80 ****
--- 75,85 ----
#define MOUNT_CMD "/etc/fs/nfs/mount"
#define UMOUNT_CMD "/usr/sbin/umount"
#endif
+ #ifdef hpux
+ #define MOUNT_CMD "/etc/mount"
+ #define UMOUNT_CMD "/etc/umount"
+ #define setreuid(r, e) setresuid(r, e, -1) /* ok for what attach does */
+ #endif
#define MAXOWNERS 64
#define MAXHOSTS 64