other than this ??
Thanking you in advance.
Thanks and Regards,
Niroj Pokhrel
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
here anyway if I want to put this file in sec_class.
Thanking you in advance.
Thanks and Regards,
Niroj Pokhrel
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
*oldmm;
> >
> > prepare_task_switch(rq, prev, next);
> >
> > mm = next->mm;
> > oldmm = prev->active_mm;
> > /*
> > * For paravirt, this is coupled with an exit in switch_to to
> > * combine the page table reload
r the mm_users count reduce to zero.
May be the explanation is simple but I'm lost. Thanking all of you in
advance.
Regards,
Niroj Pokhrel
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailma
On Tue, Mar 19, 2013 at 8:27 PM, Mulyadi Santosa
wrote:
> Hi Niroj
>
> Please see inlined answer below...
>
> On Mon, Mar 18, 2013 at 5:28 PM, Niroj Pokhrel
> wrote:
> > Hi all,
> > As I have read, whenever we execute a program, the memory is allocated in
&g
Hi all,
As I have read, whenever we execute a program, the memory is allocated in
different sections viz stack, text and data segment. But, since we have
used loader and linker the three allocations will happen for them too.
But when I ran a program and did pmap pid, I saw several other fields whic
On Fri, Mar 15, 2013 at 12:31 PM, Arun KS wrote:
> Hi Niroj,
>
> On Wed, Mar 13, 2013 at 3:16 PM, Niroj Pokhrel
> wrote:
> > Hi All,
> >
> > I have been studying Memory Management in linux. But I am confused with
> the
> > division of different ZONE. The
onfused. Please Help. Thanking you in Advance
Yours,
Niroj Pokhrel
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi All,
I am newbies to Linux and am going through system call in kernel-3.4. I
just wanted to check how sys_read, sys_write or other system calls work but
I was searching for the implementation but couldn't find it.
I found that :
System Call are added in /arch/x86/syscalls/syscall_32(or64).tbl. a
On Sat, Jan 19, 2013 at 8:13 AM, Peter Teoh wrote:
>
>
> On Sat, Jan 19, 2013 at 5:49 AM, wrote:
>
>> On Fri, 18 Jan 2013 19:59:38 +0530, Niroj Pokhrel said:
>>
>> > I have been trying to create a process using vfork(). And both of the
>> child
>> &g
Hi all,
I have been trying to create a process using vfork(). And both of the child
and the parent process execute it in the same address space. So, if I
execute exit(0) in the child process, it should throw some error right.
Since the execution is happening in child process first and if I release
Hi all,
I have been using fork and exec for sometime. But I have no idea about what
are the things done by the kernel when we fork or exec and how things work.
How the kernel load new program and what all things are done ... Can
anybody please explain me this ? Thank you in advance.
___
Hi all,
I tried to use fflush(stdin) in gcc as I used to in other compilers. But It
didn't clear my buffer so I am wondering how can I clear the stdin buffer
in GCC.
I tried using lseek but got -EPIPE (as tty devices doesn't support lseek
operation).
Thanx in advance.
__
e in r0 and how can I move this value to the user
variable.
Thanking you in advance.
--
Niroj Pokhrel
Software Engineer,
Samsung India Software Operations
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/m
On Sat, Dec 22, 2012 at 9:49 PM, Adel Qodmani wrote:
> I am not sure, but try running your application as a root
>
> Adel,
>
>
> On Sat, Dec 22, 2012 at 6:09 PM, Niroj Pokhrel wrote:
>
>> Hi,
>> I have been trying to open a character device and getting the f
Hi,
I have been trying to open a character device and getting the following
error :
open("/dev/mychardev", O_RDONLY)= -1 EACCES (Permission denied)
What do I have to change my permission mode ??
Please help. Thanx in advance .
--
Niroj Pokhrel
Software Engineer,
Samsung Indi
On Thu, Dec 20, 2012 at 4:00 PM, Ivan Nikolaev wrote:
> Modules which are not declared.as GPL, by default are considered
> proprietary. Proprietary code can't make use of GPLed modules.
> 20.12.2012 12:03 пользователь "Niroj Pokhrel"
> написал:
>
>> Hi,
he
symbols. Thanks in advance.
--
Niroj Pokhrel
Software Engineer,
Samsung India Software Operations
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
string is %s ",Buffer);
strcpy(Buffer,"Niroj you are a dude");
if(write(fd,Buffer,sizeof(Buffer))==0)
printf("\nThe data hasn't been written");
return 0;
}
Output: Device Open Failed -1
--
Niroj Pokhrel
Software Engineer,
Samsung India Software Operations
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi,
I'm trying to work on android audio (pcm_native.c) but got stuck in some
parameters like start threshold, stop threshold, silence zone, silence
threshold. Can anybody please elaborate on what they are each used for ??
--
Niroj Pokhrel
Software Engineer,
Samsung India Software Opera
ias@googlemail.com> wrote:
> Hi,
>
>
> On 10/15/2012 11:24 AM, Niroj Pokhrel wrote:
>
>> Hi,
>> I'm new to linux and kernel . I'm ongoing with the linux device drivers.
>> I've followed the the book LDD but i'm lost about how to call my
>> driver&
sure that when I read or write that it implement the functions
via the methods i have implemented in my module.
--
Niroj Pokhrel
NIT Jamshedpur,
B.Tech,Electronics and Communication
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http:
22 matches
Mail list logo