Home » Unlabelled » Linux Kernel Programming Quiz Hasan Basri 4:30 PM 0 comments Linux Kernel Programming Quiz Linux Kernel Quiz Linux Kernel Quiz This is a quiz on basics of linux kernel programming. The fuction in the module that gets called on insmod isopenread initwrite Which structure holds the pointer to file_operations structure filetask_structfile_operationsNone of the above The default size of the entries on /proc are Zero4KBDepends on the entry Depends on Kernel In a device driver dev_t data type represents The magic number Only The mjor number Combination of Major and minor number Only the minor number The file Module.symvers, generated when compiling an external module holds The symbols exported by the module The symbols exported by the kernel All the symbols present in the module The list of symbols not used by the module modprobe refers to which file to find out the dependencies modules.dep modules.orderdep.modulemodules.symbols modules.dep is generated by which command depmpodinsmodmodproermmod The character and block devices are listed in which folder /media/dev /devices/char and /block Functions in kernel generally Return negative number to signal error Retrun 1 to signal successful execution of function. Retrun 0 to signal error Return negative number to signal successful execution of the function. which command gives information about a module infomodmodinfomoduleinfomoddata Share: Facebook Twitter Google+ StumbleUpon Digg Delicious LinkedIn Reddit Technorati
0 comments:
Post a Comment