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

Bug#365123: gcc-4.0: gcov opens files with O_RDWR



X-Reportbug-Version: 3.20
X-Debbugs-Cc: philipp.marek@bmlv.gv.at
Package: gcc-4.0
Version: 4.0.3-2
Severity: important

gcov opens it's data files *.gcda and *.gcno with O_RDWR.
This fails if these files were created by another user, and the current user 
only has read access to those files.

I believe that to be a major bug - opening files O_RDWR when only read access 
is needed.
(At least, in strace I only see read()s).


Regards,

Phil



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686-smp
Locale: LANG=de_AT@euro, LC_CTYPE=de_AT@euro (charmap=ISO-8859-1) (ignored: 
LC_ALL set to de_AT)

Versions of packages gcc-4.0 depends on:
ii  binutils             2.16.1cvs20060413-1 The GNU assembler, linker and 
bina
ii  cpp-4.0              4.0.3-2             The GNU C preprocessor
ii  gcc-4.0-base         4.0.3-2             The GNU Compiler Collection (base 
ii  libc6                2.3.6-7             GNU C Library: Shared libraries
ii  libgcc1              1:4.1.0-1+b1        GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev                     2.3.6-7    GNU C Library: Development 
Librari
pn  libmudflap0-dev               <none>     (no description available)

-- no debconf information



Reply to: