SCCS-vsn: sys/kern/kern_exec.c 7.32
SCCS-vsn: sys/kern/kern_prot.c 7.16
SCCS-vsn: sys/tahoe/tahoe/locore.s 7.15
SCCS-vsn: sys/vax/vax/locore.s 7.26
SCCS-vsn: sys/hp300/hp300/locore.s 7.4
*
* from: Utah $Hdr: locore.s 1.47 89/10/08$
*
*
* from: Utah $Hdr: locore.s 1.47 89/10/08$
*
- * @(#)locore.s 7.3 (Berkeley) %G%
+ * @(#)locore.s 7.4 (Berkeley) %G%
moveq #EFAULT,d0 | copy fault
jra Lcisdone
Lcisflt2:
moveq #EFAULT,d0 | copy fault
jra Lcisdone
Lcisflt2:
- moveq #ENOENT,d0 | ran out of space
+ moveq #ENAMETOOLONG,d0 | ran out of space
moveq #EFAULT,d0 | copy fault
jra Lcosdone
Lcosflt2:
moveq #EFAULT,d0 | copy fault
jra Lcosdone
Lcosflt2:
- moveq #ENOENT,d0 | ran out of space
+ moveq #ENAMETOOLONG,d0 | ran out of space
moveq #EFAULT,d0 | copy fault
jra Lcsdone
Lcsflt2:
moveq #EFAULT,d0 | copy fault
jra Lcsdone
Lcsflt2:
- moveq #ENOENT,d0 | ran out of space
+ moveq #ENAMETOOLONG,d0 | ran out of space
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)kern_exec.c 7.31 (Berkeley) %G%
+ * @(#)kern_exec.c 7.32 (Berkeley) %G%
cp += len;
nc += len;
cc -= len;
cp += len;
nc += len;
cc -= len;
- } while (error == ENOENT);
+ } while (error == ENAMETOOLONG);
if (error) {
if (bp)
brelse(bp);
if (error) {
if (bp)
brelse(bp);
cp += len;
nc += len;
cc -= len;
cp += len;
nc += len;
cc -= len;
- } while (error == ENOENT);
+ } while (error == ENAMETOOLONG);
if (error == EFAULT)
panic("exec: EFAULT");
}
if (error == EFAULT)
panic("exec: EFAULT");
}
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)kern_prot.c 7.15 (Berkeley) %G%
+ * @(#)kern_prot.c 7.16 (Berkeley) %G%
return (error);
error = copyinstr((caddr_t)uap->namebuf, (caddr_t)p->p_logname,
sizeof (p->p_logname) - 1, (int *) 0);
return (error);
error = copyinstr((caddr_t)uap->namebuf, (caddr_t)p->p_logname,
sizeof (p->p_logname) - 1, (int *) 0);
- if (error == ENOENT) /* name too long */
+ if (error == ENAMETOOLONG) /* name too long */
error = EINVAL;
return (error);
}
error = EINVAL;
return (error);
}
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)locore.s 7.14 (Berkeley) %G%
+ * @(#)locore.s 7.15 (Berkeley) %G%
*/
#include "../tahoe/mtpr.h"
*/
#include "../tahoe/mtpr.h"
movl $(NBPG*CLSIZE),r2 # check next page
tstl r5 # run out of space?
jneq 1b
movl $(NBPG*CLSIZE),r2 # check next page
tstl r5 # run out of space?
jneq 1b
- movl $ENOENT,r0 # set error code and return
+ movl $ENAMETOOLONG,r0 # set error code and return
jbr 6f
3:
tstl 16(fp) # return length?
jbr 6f
3:
tstl 16(fp) # return length?
movl $(NBPG*CLSIZE),r2 # check next page
tstl r5 # run out of space?
jneq 1b
movl $(NBPG*CLSIZE),r2 # check next page
tstl r5 # run out of space?
jneq 1b
- movl $ENOENT,r0 # set error code and return
+ movl $ENAMETOOLONG,r0 # set error code and return
jbr 6b
5:
clrl *$0 # this should never execute, if it does
jbr 6b
5:
clrl *$0 # this should never execute, if it does
movl r4,r1
movl r3,r2
movblk # copy next piece
movl r4,r1
movl r3,r2
movblk # copy next piece
- movl $ENOENT,r0 # set error code and return
+ movl $ENAMETOOLONG,r0 # set error code and return
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)locore.s 7.25 (Berkeley) %G%
+ * @(#)locore.s 7.26 (Berkeley) %G%
movl $(NBPG*CLSIZE),r2 # check next page
tstl r6 # run out of space?
jneq 1b
movl $(NBPG*CLSIZE),r2 # check next page
tstl r6 # run out of space?
jneq 1b
- movl $ENOENT,r0 # set error code and return
+ movl $ENAMETOOLONG,r0 # set error code and return
jbr 9f
3:
tstl 16(ap) # return length?
jbr 9f
3:
tstl 16(ap) # return length?
movl $(NBPG*CLSIZE),r2 # check next page
tstl r6 # run out of space?
jneq 1b
movl $(NBPG*CLSIZE),r2 # check next page
tstl r6 # run out of space?
jneq 1b
- movl $ENOENT,r0 # set error code and return
+ movl $ENAMETOOLONG,r0 # set error code and return
movc3 r2,(r1),(r3) # copy in next piece
tstl r6 # run out of space?
jneq 1b
movc3 r2,(r1),(r3) # copy in next piece
tstl r6 # run out of space?
jneq 1b
- movl $ENOENT,r0 # set error code and return
+ movl $ENAMETOOLONG,r0 # set error code and return