1 Jul 2004 01:36
bin/68534: make(1) - ${.MAKEFLAGS} does not contain cmd line args
John E. Hein <jhein <at> timing.com>
2004-06-30 23:36:02 GMT
2004-06-30 23:36:02 GMT
>Number: 68534
>Category: bin
>Synopsis: make(1) - ${.MAKEFLAGS} does not contain cmd line args
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 30 23:40:16 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: John E. Hein
>Release: FreeBSD 4.10-RELEASE i386
>Organization:
Timing Solutions
>Environment:
System: FreeBSD gromit.timing.com 4.10-RELEASE FreeBSD 4.10-RELEASE #1: Wed Jun 23 10:12:32 MDT 2004
jhein <at> gromit.timing.com:/usr/pub/jhein/obj/usr/pub/jhein/src/sys/GROMIT i386
at least 4.3, 4.10 and 5.2-CURRENT (as of May 2004)
>Description:
MAKEFLAGS env variable & .MAKEFLAGS make variable does not contain
command line args as specified in make(1).
(Continue reading)
--- sanelock.patch begins here ---
diff -c /sys/kern.old/kern_descrip.c /sys/kern/kern_descrip.c
*** /sys/kern.old/kern_descrip.c Thu Jun 24 17:25:47 2004
--- /sys/kern/kern_descrip.c Thu Jun 24 18:22:09 2004
***************
*** 380,385 ****
--- 380,411 ----
error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader,
F_UNLCK, flp, F_POSIX);
break;
+ case F_SANEWRLCKNO:
+ flg |= F_NOOVRLP;
+ case F_SANEWRLCK:
+ flp->l_type=F_WRLCK;
+ flg &= ~F_POSIX;
+ flg |= F_FLOCK;
+ fp->f_flag |= FHASLOCK;
+ error = VOP_ADVLOCK(vp, (caddr_t)fp, F_SETLK,
+ flp, flg);
RSS Feed