lkml.org 
[lkml]   [2006]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.6.16-rc1
On Thu, Jan 19, 2006 at 08:10:56AM +1100, Eyal Lebedinsky took 0 lines to write:
> Kurt Wall wrote:
> > Seems to be okay here with both gcc 3.4.4 and gcc 4.0.2:
>
> You must run as root to see it.

Eew. Yes, with root, I get it with both compilers:

root@luther:~# ls -l /dev/null
crw-rw-rw- 1 root sys 1, 3 1994-07-17 19:46 /dev/null
root@luther:~# echo "main() {}" | gcc -xc - -o /dev/null
root@luther:~# ls -l /dev/null
crwxrwxrwx 1 root sys 1, 3 1994-07-17 19:46 /dev/null

root@luther:~# ls -l /dev/null
crw-rw-rw- 1 root sys 1, 3 1994-07-17 19:46 /dev/null
root@luther:~# echo "main() {}" | /usr/local/gcc4/bin/gcc -xc - -o
/dev/null
root@luther:~# ls -l /dev/null
crwxrwxrwx 1 root sys 1, 3 1994-07-17 19:46 /dev/null

Obviously gcc shouldn't do such at thing, but just as obviously, don't
build the kernel as root.

Kurt
--
"Right now I'm having amnesia and deja vu at the same time."
-- Steven Wright
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-19 02:43    [W:0.092 / U:6.940 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site