which buffer address is this ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

I was running strace over  ifconfig command  and part of the output is shown below . I notice something strange in the length of the buffer address of the  read syscall . Can somebody throw some light on this ?

open("/proc/net/if_inet6", O_RDONLY)    = 10
fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ce8000
read(10, "fe80000000000000021676fffe79ceb2"..., 1024) = 108
write(1, "          inet6 addr: fe80::216:"..., 61          inet6 addr: fe80::216:76ff:fe79:ceb2/64 Scope:Link
) = 61
read(10, "", 1024)                      = 0
read(10, "", 1024)                      = 0
close(10)                               = 0

--
Regards,
~Sid~
http://sidsenclave.blogspot.com

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux