Syscalls: When can I use "cond_syscall()" macro?
Hello, friends!! How are you?! Im studing the linux kernel, to be part of the community!! Anyone know where/when can I use the con_syscall() macro?! And another question: Where are the file "unistd_32.h"?! I'm not founding it in the "arch/x86/include/asm/" directory!! []'s Peace. -- Atenciosamente, Gustavo da Silva gustavodasilva@gmail.com
On Fri, Jul 6, 2012 at 11:42 AM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
And another question:
Where are the file "unistd_32.h"?! I'm not founding it in the "arch/x86/include/asm/" directory!!
I think you can answer this for yourself: $ sudo updatedb && locate unistd_32.h or $ cd kernel-tree && find . -name "unistd_32.h" Mine is here (for x86): ./arch/x86/include/generated/asm/unistd_32.h Welcome to kernel-land :-) Ezequiel.
Hi Ezequiel! How are you?! So, ...Hmmm... Im using the following url to navigate by the sources (hehehe) http://lxr.linux.no/linux+v3.4.4/arch/x86/include/asm/ I have not done the download of the sources, yet. So, just navigating by the sources, the link to the unistd_32.h was broken. Well, I will do the download (if I have not one here in some pendriver)... ...! Thx!! 2012/7/6 Ezequiel Garcia <elezegarcia@gmail.com>
On Fri, Jul 6, 2012 at 11:42 AM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
And another question:
Where are the file "unistd_32.h"?! I'm not founding it in the "arch/x86/include/asm/" directory!!
I think you can answer this for yourself:
$ sudo updatedb && locate unistd_32.h
or
$ cd kernel-tree && find . -name "unistd_32.h"
Mine is here (for x86):
./arch/x86/include/generated/asm/unistd_32.h
Welcome to kernel-land :-) Ezequiel.
-- Atenciosamente, Gustavo da Silva gustavodasilva@gmail.com
On Fri, 6 Jul 2012, Gustavo da Silva wrote:
Hi Ezequiel! How are you?!
So, ...Hmmm...
Im using the following url to navigate by the sources (hehehe)
http://lxr.linux.no/linux+v3.4.4/arch/x86/include/asm/
I have not done the download of the sources, yet. So, just navigating by the sources, the link to the unistd_32.h was broken.
Well, I will do the download (if I have not one here in some pendriver)... ...!
the file you're referring to is a *generated* file -- it isn't present in a pristine kernel source tree, it will only be created by a configuration and/or further steps, such as "make modules_prepare". rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
On Fri, Jul 6, 2012 at 3:32 PM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
Hi Ezequiel! How are you?!
So, ...Hmmm...
Im using the following url to navigate by the sources (hehehe)
If you want to browse sources and middle-to-big size projects, I seriously recommend you to use ctags [1]. Once you get used to it, it's a true wonder. In fact, linux kernel have them incorporated, so you only need to do: $ make tags Of course, supposing you know how to use vim or emacs :-) I've just had a similar discussion with some co-workers. Make no mistake, if you want to be serious programmer: vim or emacs. [1] http://ctags.sourceforge.net/
Ok!! I'll use vi/vim/emacs+ctags!!! I'm a Java EE developer (who loves binary manipulation & low level knowledge), so I just use Eclipse IDE. (Eclipse IDE nnnnnnoooooottttt!!!!) I'm creating an environment to start the research&development about the kernel. 2012/7/6 Ezequiel Garcia <elezegarcia@gmail.com>
On Fri, Jul 6, 2012 at 3:32 PM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
Hi Ezequiel! How are you?!
So, ...Hmmm...
Im using the following url to navigate by the sources (hehehe)
If you want to browse sources and middle-to-big size projects, I seriously recommend you to use ctags [1]. Once you get used to it, it's a true wonder.
In fact, linux kernel have them incorporated, so you only need to do:
$ make tags
Of course, supposing you know how to use vim or emacs :-)
I've just had a similar discussion with some co-workers. Make no mistake, if you want to be serious programmer: vim or emacs.
-- Atenciosamente, Gustavo da Silva gustavodasilva@gmail.com
On Sat, Jul 7, 2012 at 1:44 AM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
Ok!!
I'll use vi/vim/emacs+ctags!!!
I'm a Java EE developer (who loves binary manipulation & low level knowledge), so I just use Eclipse IDE. (Eclipse IDE nnnnnnoooooottttt!!!!)
I'm creating an environment to start the research&development about the kernel.
Uhm try to avoid top posting :) it will help you a lot when discussing kernel stuff in kernelnewbies and LKML :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
And: How are the Argentina after Libertadores?! 2012/7/6 Gustavo da Silva <gustavodasilva@gmail.com>
Ok!!
I'll use vi/vim/emacs+ctags!!!
I'm a Java EE developer (who loves binary manipulation & low level knowledge), so I just use Eclipse IDE. (Eclipse IDE nnnnnnoooooottttt!!!!)
I'm creating an environment to start the research&development about the kernel.
2012/7/6 Ezequiel Garcia <elezegarcia@gmail.com>
On Fri, Jul 6, 2012 at 3:32 PM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
Hi Ezequiel! How are you?!
So, ...Hmmm...
Im using the following url to navigate by the sources (hehehe)
If you want to browse sources and middle-to-big size projects, I seriously recommend you to use ctags [1]. Once you get used to it, it's a true wonder.
In fact, linux kernel have them incorporated, so you only need to do:
$ make tags
Of course, supposing you know how to use vim or emacs :-)
I've just had a similar discussion with some co-workers. Make no mistake, if you want to be serious programmer: vim or emacs.
-- Atenciosamente,
Gustavo da Silva gustavodasilva@gmail.com
-- Atenciosamente, Gustavo da Silva gustavodasilva@gmail.com
On Fri, Jul 6, 2012 at 3:58 PM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
And: How are the Argentina after Libertadores?!
1. Please avoid top-posting! (as already suggested) 2. Hehe, not every Argentinian citizen is soccer fan !! (despite what people seems to think) Meaning... I couldn't possible care less :-)
Ok!! All right. I'll follow the tips. 2012/7/6 Ezequiel Garcia <elezegarcia@gmail.com>
On Fri, Jul 6, 2012 at 3:58 PM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
And: How are the Argentina after Libertadores?!
1. Please avoid top-posting! (as already suggested)
2. Hehe, not every Argentinian citizen is soccer fan !! (despite what people seems to think) Meaning... I couldn't possible care less :-)
-- Atenciosamente, Gustavo da Silva gustavodasilva@gmail.com
On Fri, Jul 6, 2012 at 9:19 PM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
Ok!! All right. I'll follow the tips.
You keep not following the tips by the way :-) Someone who wasn't following this thread probably would ask, which tips did he not follow? You see what happened? Because you top posted your answer (again) we have lost the context of this conversation.
2012/7/6 Ezequiel Garcia <elezegarcia@gmail.com>
On Fri, Jul 6, 2012 at 3:58 PM, Gustavo da Silva <gustavodasilva@gmail.com> wrote:
And: How are the Argentina after Libertadores?!
1. Please avoid top-posting! (as already suggested)
2. Hehe, not every Argentinian citizen is soccer fan !! (despite what people seems to think) Meaning... I couldn't possible care less :-)
Most people in this mailing list are very nice and are willing to help but also they are very busy and can be a little grumpy when they have to repeat the same thing over and over. So please listen to Ezequiel, Mulyadi and others when they give you advise. Good luck and best regards, Javier
participants (5)
-
Ezequiel Garcia -
Gustavo da Silva -
Javier Martinez Canillas -
Mulyadi Santosa -
Robert P. J. Day