Re: Eudyptula Challenge Task 01

2014-04-29 Thread Vitor Braga
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

The paramater for -C should be a variable. Allow it to be changed.

Thanks,

On Tue, Apr 29, 2014 at 12:10 PM, me storage me.storage...@gmail.com wrote:
 Hi i every one i am new to linux kernel programming .I am participating in
 Eudyptula Challenge .Recently i submitted my solutions to Task 01 but i
 gives me reply like the below

 Please read the requirements for the Makefile and allow the module to be
 built against any kernel source tree on the filesystem, not just those
 kernels that happened to be installed in /lib/ at some point in time.

 And my make file is like this

 ifneq ($(KERNELRELEASE),)
  obj-m += helloworld.o
  else
  default:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
  clean:
make -C /lib/modules/$(shell uname -r)/bulid M=$(PWD) clean
  end


 So can any please tell me how to allow the module to be built against any
 kernel source tree on the filesystem?
 or can any one pleae tell me what does it mean?
 Thank you

 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernel Projects

2014-04-22 Thread Vitor Braga
I second this, Eudyptula is one of most fun things Ive done in a lot
of time I'm trying to find some time to finish task 16, but the
real world keeps getting in my way :/

On Tue, Apr 22, 2014 at 2:29 PM, Akshay Dixit akshayd...@gmail.com wrote:
 Hi Julio,

 Have you tried the Eudyptula Challenge?
 Its a good place to start from the ground up!

 Regards,
 Akshay Dixit

 On Tue, Apr 22, 2014 at 10:52 PM, Julio Faracco jcfara...@gmail.com wrote:
 Hi,

 Does anybody know if there is a program to offer small (or big) kernel
 projects to students or someone who are interested in?

 I'm looking for programs like Google Summer of Code or
 http://kernelnewbies.org/KernelProjects

 I'm interested to contribute with kernel patches, but I don't know how and
 where to start it.

 I will be glad if someone give me ideas and/or suggestions.

 Thanks!

 --
 Julio Cesar Faracco
 University of São Paulo - Brazil

 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Kernel Projects

2014-04-22 Thread Vitor Braga
Give it some time :-) Might take a couple hours to a day between replies.


On Tue, Apr 22, 2014 at 2:55 PM, aaditya.gavandal...@yahoo.com 
aaditya.gavandal...@yahoo.com wrote:

 I also sent a mail to lit...@eudyptula-challenge.org for joining the
 challenge but didn't received a conformation or a new challenge yet.

  --
 * From: * Vitor Braga vitorpybr...@gmail.com;
 * To: * Akshay Dixit akshayd...@gmail.com;
 * Cc: * Julio Faracco jcfara...@gmail.com; 
 Kernelnewbies@kernelnewbies.org;
 * Subject: * Re: Kernel Projects
 * Sent: * Tue, Apr 22, 2014 5:39:06 PM

   I second this, Eudyptula is one of most fun things Ive done in a lot
 of time I'm trying to find some time to finish task 16, but the
 real world keeps getting in my way :/

 On Tue, Apr 22, 2014 at 2:29 PM, Akshay Dixit akshayd...@gmail.com
 wrote:
  Hi Julio,
 
  Have you tried the Eudyptula Challenge?
  Its a good place to start from the ground up!
 
  Regards,
  Akshay Dixit
 
  On Tue, Apr 22, 2014 at 10:52 PM, Julio Faracco jcfara...@gmail.com
 wrote:
  Hi,
 
  Does anybody know if there is a program to offer small (or big) kernel
  projects to students or someone who are interested in?
 
  I'm looking for programs like Google Summer of Code or
  http://kernelnewbies.org/KernelProjects
 
  I'm interested to contribute with kernel patches, but I don't know how
 and
  where to start it.
 
  I will be glad if someone give me ideas and/or suggestions.
 
  Thanks!
 
  --
  Julio Cesar Faracco
  University of São Paulo - Brazil
 
  ___
  Kernelnewbies mailing list
  Kernelnewbies@kernelnewbies.org
  http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

 
 
  ___
  Kernelnewbies mailing list
  Kernelnewbies@kernelnewbies.org
  http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Adding a dummy system call

2014-04-04 Thread Vitor Braga
Check out SYSCALL_DEFINEx series of macros:

http://lxr.free-electrons.com/source/include/linux/syscalls.h#L171

Is this what you're looking for?

Vitor.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies