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:09:20 +0000 |
commit | 61928384b91f7328aaa72c6d1299d8598c24574d (patch) | |
tree | 416397efad61725eb1bac9af9d5af3446437c05d /meta/recipes-graphics/matchbox-session | |
parent | e2c4dff079722f256ddcab9630b5b3f8f6421cc9 (diff) | |
download | openembedded-core-61928384b91f7328aaa72c6d1299d8598c24574d.tar.gz openembedded-core-61928384b91f7328aaa72c6d1299d8598c24574d.tar.bz2 openembedded-core-61928384b91f7328aaa72c6d1299d8598c24574d.zip |
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
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Diffstat (limited to 'meta/recipes-graphics/matchbox-session')
0 files changed, 0 insertions, 0 deletions