Skip to content

tslib:Set open mode for ts_calibate.c

Xiaofeng Yan openembedded-core 1 version Applied

Status from this message: Merged to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1tslib: Set open mode for ts_calibate.cmeta/recipes-graphics/tslib/tslib/set-open-mode-for-ts_calibrate_c.patch meta/recipes-graphics/tslib/tslib_1.0.bb+33 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] tslib:Set open mode for ts_calibate.c

From: Xiaofeng Yan <[email protected]>

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

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/ts_lib
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/ts_lib

Thanks,
Xiaofeng Yan <[email protected]>
---

Xiaofeng Yan (1):
tslib: Set open mode for ts_calibate.c

 .../tslib/set-open-mode-for-ts_calibrate_c.patch   |   30 ++++++++++++++++++++
 meta/recipes-graphics/tslib/tslib_1.0.bb           |    5 ++-
 2 files changed, 33 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-graphics/tslib/tslib/set-open-mode-for-ts_calibrate_c.patch