Description:
Linux kernels, device drivers, modules.
|
|
|
C/C++: Determine [My] Module's Load Address
|
| |
Hi All, I'm trying to determine my module's load address at runtime. By 'module's load address', I mean byte[0] of the in-memory image (ie, the first byte of the Elf32_Ehdr). I believe I want information from the struct module in kernel/modules.c. I did find sys_query_module, but it has been depricated.... more »
|
|
strange thing after moving a directory
|
| |
I was editing some files in a subdirectory of a project (which itself is a subdirectory of a directory named "projects"). After concluding this edit I decided I wanted to have the option to revert my changes. Since this is not being doing in a revision management system, and instead I have backups... more »
|
|
mmap returning MAP_FAILED
|
| |
I am running Linux 2.6.26 on an MPC8248. In my application, mmap is returning MAP_FAILED. The arguments to mmap are start = 0, length = 2680, prot = 3, flags = MAP_SHARED, fd = 5, offset = 0. errno = 22 "Invalid argument" I looked at the man page for mmap and don't see a reason why this is happening. Any ideas?... more »
|
|
Wonders of Allah in Dolphins
|
| |
Wonders of Allah in Dolphins For dolphins, breathing is not a reflex, as it is for humans and other land mammals, but rather a voluntary movement. In other words, dolphins decide to breathe like we decide to walk. There is also a precaution taken in order to prevent the animal's being drowned while sleeping in water. While sleeping, the dolphin uses the right and left... more »
|
|
Only intercept mprotect(2) syscall
|
| |
Dear group, I'd like to do the following: Trap all read/write access to a page in memory (e.g., for logging purposes), but do not deny them. When I use mprotect() on a certain location, I can intercept the read/write, but (as the page is obviously protected) the read/write is not actually performed. I'd like my handler to be called right prior to any read and... more »
|
|
Dynamic linking
|
| |
Hi, If the shared library for printf is missing on my linux machine, I'm expecting an error at the time of loading instead of happening it while linking. Is this a correct assumption? If thats the case, how we are getting linker error for a typo error for printf and loader error for missed library? My assumption... more »
|
|
Was Jesus Crucified?The Original Sin
|
| |
. Willingness of Jesus Christ to Die for Our Sins: Peter and the two sons of Zebedee were with Jesus Christ before the elders of the people and the chief priests came to take him to crucify him. Jesus at this point talked to Peter and the two sons of Zebedee as in Matthew 26:38 "Then saith he unto them, My soul is exceeding... more »
|
|
Linux Kernel Developement Opening
|
| |
Greetings from Dexcel Designs. ABOUT DEXCEL DESIGNS: •Dexcel is a ISO 9000 certified company and was found in mid on year 2000 as a technology focused company of the Comcraft group of Singapore, Headquartered in Bangalore. •Dexcel is in the business of design, development and innovation of embedded software and hardware products for global customers.... more »
|
|
ERROR: No space left on device /dev/stdout
|
| |
Hi, all. It is my first post to this group, so please be patient if I do not follow an accepted format. Also, if this group is not the right place to ask such a questions, please say so and kindly suggest an alternative. I have a legacy software application running on Red Hat 6.1. Yes, it is pretty old. Known, that the filesystem in use is the ext2fs.... more »
|
|
|