2008-06-23 09:19:44     Makefiles with exec permision and wrong file name

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-06-23 09:19:44     Makefiles with exec permision and wrong file name

Andrea Federico Grisotto (ITALY)

Message: 57729   

 

(1) I did in uClinux branch 2008R1 this command:

 

find user -type f -name Makefile -perm /u+x

 

user/openvpn/plugin/down-root/Makefile

user/openvpn/plugin/auth-pam/Makefile

user/openvpn/service-win32/Makefile

user/blkfin-test/camera_test/Makefile

user/blkfin-test/event_test/Makefile

user/blkfin-test/video_test/Makefile

 

 

there are files with the wrong execute permission set. (user/blkfin-test/video_test/lissa.c) etc.

 

(2) in this file: user/blkfin-test/event_test/Makefile

 

the application is compiled with name: event_test

 

but  in the source (evtest.c) the error messages print the wrong file name

 

for example in line 233: printf ("Usage: evtest /dev/inputX\n");

 

I hope this can be useful to improve this great linux distribution.

 

 

QuoteReplyEditDelete

 

 

2008-06-23 09:42:19     Re: Makefiles with exec permision and wrong file name

Mike Frysinger (UNITED STATES)

Message: 57731   

 

there are many files which probably shouldnt have execute permissions ... we dont rigorously check these as often time they are broken in the upstream distribution (the expat pkg is a good example of this) ... they arent actually causing you a problem for you, are they ?

 

for our local packages, i'll fix things up

 

as for evtest.c, ive just changed things to argv[0]

QuoteReplyEditDelete

 

 

2008-06-23 09:57:41     Re: Makefiles with exec permision and wrong file name

Andrea Federico Grisotto (ITALY)

Message: 57733   

 

HI Mike,

 

this not causing a problem for me , I sent the email only for give to you a little little little contribution

 

to improve this distribution.

 

You are doing a great work.

 

Andrea.

Attachments

    Outcomes