diff options
author | Xiaofeng Yan <xiaofeng.yan@windriver.com> | 2011-11-17 19:03:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-24 22:12:03 +0000 |
commit | e04de73421b05d76f9b92f064598f954445b9cc8 (patch) | |
tree | 22cde6017ae1000d06c4fd8bba3cadf215b152cd /documentation/poky-ref-manual/usingpoky.xml | |
parent | 32ee63229573eb094c611ce017c59c1e9813f8a5 (diff) | |
download | poky-e04de73421b05d76f9b92f064598f954445b9cc8.tar.gz |
tslib: Set open mode for ts_calibate.c
Get patch from: http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/27614
There is a potentially "unsafe" use of open(). Ubuntu 8.10+, for instance,
by default enables the compiler flag -D_FORTIFY_SOURCE=2 \
which throws an error of ts_calibrate.c. To fix this, \
set a mode in the open() call, patch patched ts_calibrate.c \
to set 0644 (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) and it compiles fine
(From OE-Core rev: 61928384b91f7328aaa72c6d1299d8598c24574d)
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual/usingpoky.xml')
0 files changed, 0 insertions, 0 deletions