projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
print errno when init can't be executed
[unix-history]
/
usr
/
src
/
sys
/
kern
/
vfs_vnops.c
diff --git
a/usr/src/sys/kern/vfs_vnops.c
b/usr/src/sys/kern/vfs_vnops.c
index
3f76e75
..
1e92578
100644
(file)
--- a/
usr/src/sys/kern/vfs_vnops.c
+++ b/
usr/src/sys/kern/vfs_vnops.c
@@
-1,20
+1,26
@@
-/* vfs_vnops.c 6.2 84/07/08 */
+/*
+ * Copyright (c) 1982, 1986 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)vfs_vnops.c 7.1 (Berkeley) %G%
+ */
#include "../machine/reg.h"
#include "../machine/reg.h"
-#include "
../h/
param.h"
-#include "
../h/
systm.h"
-#include "
../h/
dir.h"
-#include "
../h/
user.h"
-#include "
../h/
fs.h"
-#include "
../h/
file.h"
-#include "
../h/
conf.h"
-#include "
../h/
inode.h"
-#include "
../h/
acct.h"
-#include "
../h/
mount.h"
-#include "
../h/
socket.h"
-#include "
../h/
socketvar.h"
-#include "
../h/
proc.h"
+#include "param.h"
+#include "systm.h"
+#include "dir.h"
+#include "user.h"
+#include "fs.h"
+#include "file.h"
+#include "conf.h"
+#include "inode.h"
+#include "acct.h"
+#include "mount.h"
+#include "socket.h"
+#include "socketvar.h"
+#include "proc.h"
/*
* Check mode permission on inode pointer.
/*
* Check mode permission on inode pointer.
@@
-34,7
+40,7
@@
access(ip, mode)
int mode;
{
register m;
int mode;
{
register m;
- register
in
t *gp;
+ register
gid_
t *gp;
m = mode;
if (m == IWRITE) {
m = mode;
if (m == IWRITE) {