On Mon, May 24, 2021 at 10:39 PM Fox Chen wrote:
>
> On Mon, May 24, 2021 at 10:27 PM 慕冬亮 wrote:
> >
> > On Mon, May 24, 2021 at 10:22 PM Fox Chen wrote:
> > >
> > > On Mon, May 24, 2021 at 6:51 PM 慕冬亮 wrote:
> > > >
> > > > Hi all,
On Mon, May 24, 2021 at 10:27 PM 慕冬亮 wrote:
>
> On Mon, May 24, 2021 at 10:22 PM Fox Chen wrote:
> >
> > On Mon, May 24, 2021 at 6:51 PM 慕冬亮 wrote:
> > >
> > > Hi all,
> > >
> > > how do I choose format specifier for boolean variables in
On Mon, May 24, 2021 at 10:22 PM Fox Chen wrote:
>
> On Mon, May 24, 2021 at 6:51 PM 慕冬亮 wrote:
> >
> > Hi all,
> >
> > how do I choose format specifier for boolean variables in Linux
> > kernel? For example,
> >
> > bool bup;
> > pr_alert(&
Hi all,
how do I choose format specifier for boolean variables in Linux
kernel? For example,
bool bup;
pr_alert("%XXX", bup);
What should "XXX" be in the Linux kernel?
--
My best regards to you.
No System Is Safe!
Dongliang Mu
___
> On May 15, 2020, at 12:47 PM, Subhashini Rao Beerisetty
> wrote:
>
> Hi all,
>
> In Kernel, what needs to be configured to get the crash dump?
> Can someone clarify me with the sequence of steps to get the crash dump..
>
Some materials for specific Linux distributions(e.g., Redhat,
2017-09-20 15:29 GMT-04:00 jjDaNiMoTh <jjdanim...@gmail.com>:
> On 20/09/17 at 11:20am, 慕冬亮 wrote:
>> 2017-09-20 4:18 GMT-04:00 jjDaNiMoTh <jjdanim...@gmail.com>:
>> > Hello all,
>> >
>> > As the title says, any of you have successfully tried to deb
2017-09-20 4:18 GMT-04:00 jjDaNiMoTh :
> Hello all,
>
> As the title says, any of you have successfully tried to debug Linux
> 4.13 with QEMU? My problem is that it is not possible to break (even
> with hbreak) in any function of the kernel, from the most used
> (schedule or
Hello,
If you want to reuse the config of current kernel, you can use
`make oldconfig` to generate config file.
--
My best regards to you.
No System Is Safe!
Dongliang Mu
2017-01-29 18:24 GMT-05:00 Ozgur Karatas :
>
> Hello,
>
> you can get .config files in two
Dear all,
When I analyzed one coredump and read some assembly code, I encounter
one specific segment register : gs. I googled it and found the
following links:
[1]
http://stackoverflow.com/questions/10810203/what-is-the-fs-gs-register-intended-for
[2]
2016-05-25 14:17 GMT-04:00 Greg KH :
> On Wed, May 25, 2016 at 02:00:41PM -0400, Wenda Ni wrote:
>> The prototype is void kfree(const void *).
>>
>> As the input pointer is void *, how does the kernel know the size of memory
>> to
>> be freed? There should be some metadata
It's very useful and interesting. And the author of this repo is a linux
kernel developer.
My best regards to you.
No System Is Safe!
mudongliang
2016-04-06 15:06 GMT-04:00 Arun Sudhilal :
> https://0xax.gitbooks.io/linux-insides/content/
>
> Hope you guys might
2016-03-01 20:05 GMT+08:00 Anil Nair :
> Hi All,
>
> A little confusion, I have existing Linux kernel version 4.5rc4 I
> wanted to upgrade my Linux kernel 4.5rc6, The preferred method is step
> by step patch,first apply patch-4.5rc5 and then patch-4.5rc6, Then
> recompile
t;g...@kroah.com>:
> On Wed, Feb 17, 2016 at 03:52:45PM +0800, 慕冬亮 wrote:
>> Hi everyone,
>> Unix systems support a large number of special characters that
>> receive special processing by the OS. One such character is the
>> “suspend” character (ctrl-Z by defau
Hi everyone,
Unix systems support a large number of special characters that
receive special processing by the OS. One such character is the
“suspend” character (ctrl-Z by default), that causes a SIGTSTP signal
to be sent to the application process. The default action for the
signal is to
I think "Understanding The Linux Virtual Memory Manager" is a good choice.
[1] Understanding The Linux Virtual Memory Manager:
https://www.kernel.org/doc/gorman/pdf/understand.pdf
2016-02-06 2:49 GMT+08:00 masoud hematpour :
> Hi,
>
> I am beginner to kernel source. I decide
checkpatch.pl is script to check your patch, not C file I think.
2015-11-17 13:01 GMT+08:00 Naver :
> hi,
> i want to use a script in kernel, but i can't use this.
> in my terminal.
> yoon@pc:~/project/aosp/kernel/linux/scripts$ ./checkpatch.pl sortextable.c
> Must be run from
I see something strange in the load_elf_binary.
/* This is the program interpreter used for
* shared libraries - for now assume that this
* is an a.out format binary
*/
This comment is in the load_elf_binary. I don't know why it "assume that
this is an a.out format binary". a.out and elf are two
Recently I am learning vfs in kernel. I want to write a kernel module,
which can show all the file_system_type registered in linux kernel.
But the list head of all the file_system_type - file_systems can't be
got through some API! So I check all the file systems in the
/proc/filesystems. And use
Recently I was learning doubly linked list in kernel, there are many
macro in linux/fs.h, like list_add, list_del,list_for_each,list_entry,
container_of.
I know we can use "gcc -E" to expand the macro, but how do we expand
the macro in kernel source code / kernel module?
- mudongliang
I git clone and git pull the latest linux kernel.
When I make pdfdocs, it reports the following error to me.
But I checked the filesystems.xml:14946, no error found.
---
PDF
Rs: number of bits randomized in the stack area,
Rm: number of bits randomized in the mmap() area,
Rx: number of bits randomized in the main executable area
What's those three parameters?
And how to calculate the aslr entropy bits?
- mudongliang
I want to ask about the detailed process from malloc/alloca library
function to memory management.
1. malloc/alloca/realloc and so on
2. heap management in library
3. memory management in linux kernel
I only know those simple steps. How do I get the details of each step?
The source code of glibc
The lkml.org provide method to check mails in some day.
For example , 2013 May 5th, you can get the mails according to the tips in
the webpage, the final url is https://lkml.org/lkml/2013/5/5.
There are no much mails in one day. So you can check the mails by search
box in webpage or Ctrl+F
Since I knew that Linux kernel didn't accept the pax/grsecurity , but wrote
its own implement, and some linux developers do not have sense of security,
I think linux security will be a problem in the future.
- mudongliang
2015-08-18 21:45 GMT+08:00 Kenneth Adam Miller
The kernel shipped by ubuntu can be purged by apt-get. It's easy.
The kernel you build can be cleaned in this way :
1. clean the corresponding kernel file in /usr/src/
2. clean the corresponding file in /lib/modules/
3. update your grub by grub-mkconfig -o /boot/grub/grub.cfg
http://kernelnewbies.org/FAQ/current
In this website , there are only one accross which is badly spelled.
It should be across.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
I know there are rarely float-point operations! What's the exception?
In the linux kernel, how does it handle the float-point operations in the
userland?
- mudongliang
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
I see the macro in the include/linux/sched.h
#define __set_current_state(state_value) \
do { current-state = (state_value); } while (0)
Why define it like this? What's the meaning of while?
mudongliang
___
Kernelnewbies mailing list
In Understanding the Linux kernel book, it says that linux kernel of x86
uses the segmentation and paging unit to transform logistic address to
physical address!
Up to now , kernel has gone to linux kernel 4.0 , does the segmentation
exist in the x86? Is it only using the paging ? And in x86_64?
Use-after-free is a important vulnerability ! As far as we know , Linux
kernel is mostly using C and there may exist this vulnerability! I think in
the kernel there are much allocator and reallocator , how do the kernel
manage these things?
mudongliang
Hi,
I'm looking for that whether the object allocated by malloc is the
multiple of certain bytes!
Or how does the malloc allocate dynamic memory ??
I does an experiment in my computer!
#includestdio.h
#includestdlib.h
#define NUM 33
int main(int argc,const char *argv[])
{
char *a,
Hello Everyone:
What's the rule about heap management? Especially what's the function
of do_brk?
mudongliang
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Can you give a detail of what you want to prove?
I am not familiar with heap management , so I ask for the details!
mudongliang
2015-04-15 0:00 GMT+08:00 valdis.kletni...@vt.edu:
On Tue, 14 Apr 2015 23:01:58 +0800, 慕冬亮 said:
Hello Everyone:
What's the rule about heap management
33 matches
Mail list logo