aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/patch.bbclass
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2011-11-17 19:03:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-24 22:09:20 +0000
commit61928384b91f7328aaa72c6d1299d8598c24574d (patch)
tree416397efad61725eb1bac9af9d5af3446437c05d /meta/classes/patch.bbclass
parente2c4dff079722f256ddcab9630b5b3f8f6421cc9 (diff)
downloadopenembedded-core-61928384b91f7328aaa72c6d1299d8598c24574d.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 Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Diffstat (limited to 'meta/classes/patch.bbclass')
0 files changed, 0 insertions, 0 deletions