Re: deleted /dev/zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 May 2002, Liam Davies wrote:

> The ltp mtest05 test had a bug in which it would remove /dev/zero when
> it cleaned up. Have you got an updated ltp suite?
> 
> This is the fix that they did in late March to the mtest05 test.
> 
> /ltp/ltp/testcases/kernel/mem/mtest05/mmstress.c:246
> -    if (strcmp(filename, "NULL") || strcmp(filename, "/dev/zero"))
> +    if (strcmp(filename, "NULL") && strcmp(filename, "/dev/zero"))
> 
> I suppose that there may be other LTP tests that could have similar
> bugs...

 Which only proves again one shouldn't run software as root unless
absolutely needed... 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux