All of lore.kernel.org
 help / color / mirror / Atom feed
* Syscalls: When can I use "cond_syscall()" macro?
@ 2012-07-06 14:42 Gustavo da Silva
  2012-07-06 17:56 ` Ezequiel Garcia
  0 siblings, 1 reply; 11+ messages in thread
From: Gustavo da Silva @ 2012-07-06 14:42 UTC (permalink / raw)
  To: kernelnewbies

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 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120706/8103bbf7/attachment.html 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 14:42 Syscalls: When can I use "cond_syscall()" macro? Gustavo da Silva
@ 2012-07-06 17:56 ` Ezequiel Garcia
  2012-07-06 18:32   ` Gustavo da Silva
  0 siblings, 1 reply; 11+ messages in thread
From: Ezequiel Garcia @ 2012-07-06 17:56 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 17:56 ` Ezequiel Garcia
@ 2012-07-06 18:32   ` Gustavo da Silva
  2012-07-06 18:36     ` Robert P. J. Day
  2012-07-06 18:38     ` Ezequiel Garcia
  0 siblings, 2 replies; 11+ messages in thread
From: Gustavo da Silva @ 2012-07-06 18:32 UTC (permalink / raw)
  To: kernelnewbies

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 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120706/36f4e1c9/attachment.html 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 18:32   ` Gustavo da Silva
@ 2012-07-06 18:36     ` Robert P. J. Day
  2012-07-06 18:38     ` Ezequiel Garcia
  1 sibling, 0 replies; 11+ messages in thread
From: Robert P. J. Day @ 2012-07-06 18:36 UTC (permalink / raw)
  To: kernelnewbies

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
========================================================================

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 18:32   ` Gustavo da Silva
  2012-07-06 18:36     ` Robert P. J. Day
@ 2012-07-06 18:38     ` Ezequiel Garcia
  2012-07-06 18:44       ` Gustavo da Silva
  1 sibling, 1 reply; 11+ messages in thread
From: Ezequiel Garcia @ 2012-07-06 18:38 UTC (permalink / raw)
  To: kernelnewbies

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)
>
> http://lxr.linux.no/linux+v3.4.4/arch/x86/include/asm/
>

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/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 18:38     ` Ezequiel Garcia
@ 2012-07-06 18:44       ` Gustavo da Silva
  2012-07-06 18:56         ` Mulyadi Santosa
  2012-07-06 18:58         ` Gustavo da Silva
  0 siblings, 2 replies; 11+ messages in thread
From: Gustavo da Silva @ 2012-07-06 18:44 UTC (permalink / raw)
  To: kernelnewbies

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)
> >
> > http://lxr.linux.no/linux+v3.4.4/arch/x86/include/asm/
> >
>
> 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/
>



-- 
Atenciosamente,

Gustavo da Silva
gustavodasilva at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120706/61a8c703/attachment.html 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 18:44       ` Gustavo da Silva
@ 2012-07-06 18:56         ` Mulyadi Santosa
  2012-07-06 18:58         ` Gustavo da Silva
  1 sibling, 0 replies; 11+ messages in thread
From: Mulyadi Santosa @ 2012-07-06 18:56 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 18:44       ` Gustavo da Silva
  2012-07-06 18:56         ` Mulyadi Santosa
@ 2012-07-06 18:58         ` Gustavo da Silva
  2012-07-06 19:16           ` Ezequiel Garcia
  1 sibling, 1 reply; 11+ messages in thread
From: Gustavo da Silva @ 2012-07-06 18:58 UTC (permalink / raw)
  To: kernelnewbies

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)
>> >
>> > http://lxr.linux.no/linux+v3.4.4/arch/x86/include/asm/
>> >
>>
>> 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/
>>
>
>
>
> --
> Atenciosamente,
>
> Gustavo da Silva
> gustavodasilva at gmail.com
>



-- 
Atenciosamente,

Gustavo da Silva
gustavodasilva at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120706/c7e7d847/attachment-0001.html 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 18:58         ` Gustavo da Silva
@ 2012-07-06 19:16           ` Ezequiel Garcia
  2012-07-06 19:19             ` Gustavo da Silva
  0 siblings, 1 reply; 11+ messages in thread
From: Ezequiel Garcia @ 2012-07-06 19:16 UTC (permalink / raw)
  To: kernelnewbies

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 :-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 19:16           ` Ezequiel Garcia
@ 2012-07-06 19:19             ` Gustavo da Silva
  2012-07-06 22:32               ` Javier Martinez Canillas
  0 siblings, 1 reply; 11+ messages in thread
From: Gustavo da Silva @ 2012-07-06 19:19 UTC (permalink / raw)
  To: kernelnewbies

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 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120706/1631c24b/attachment.html 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Syscalls: When can I use "cond_syscall()" macro?
  2012-07-06 19:19             ` Gustavo da Silva
@ 2012-07-06 22:32               ` Javier Martinez Canillas
  0 siblings, 0 replies; 11+ messages in thread
From: Javier Martinez Canillas @ 2012-07-06 22:32 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-07-06 22:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-06 14:42 Syscalls: When can I use "cond_syscall()" macro? Gustavo da Silva
2012-07-06 17:56 ` Ezequiel Garcia
2012-07-06 18:32   ` Gustavo da Silva
2012-07-06 18:36     ` Robert P. J. Day
2012-07-06 18:38     ` Ezequiel Garcia
2012-07-06 18:44       ` Gustavo da Silva
2012-07-06 18:56         ` Mulyadi Santosa
2012-07-06 18:58         ` Gustavo da Silva
2012-07-06 19:16           ` Ezequiel Garcia
2012-07-06 19:19             ` Gustavo da Silva
2012-07-06 22:32               ` Javier Martinez Canillas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.