I have found many source files in the kernel using goto keyword instead of just doing the actual thing. For example:
Is there any specific reason for writing the code like this? The first thought that came to my mind is minimizing code duplication. If we are going to change the
then with the use of goto we have to change only one instance of it. I'm asking this because if we consider the above situation, if we replace
with
(to avoid the overhead of calling goto) then will that be a patch?
I am looking for a guide on how to program for either the Linux or FreeBSD (includes 4.4BSD, NetBSD or OpenBSD) kernel. I would prefer to learn how to write device drivers, but anything would help.
If you know, please email me at *removed* or leave a post here
Regards,
Farhan (0 Replies)
Hi All,
Not sure if this is the right place to ask, so please tell me where is appropriate...
Anyway, here is the problem. I'm a bit new to kernel programming, so nothing works :confused: . I need to intercept cetrtain ethernet packets from Host1("eth0") to Host2("eth1") and send them to... (1 Reply)
:)
Hi,
I intend to learn kernel programming.
Please, let me know if have know any good books for learning or any sites which will be help me.
Thanks in advance.
-
masg (1 Reply)
I write kernel module with kernel threads using
linux/kthread.h on 2.6.* kernel
I tried to passing data between two kernel threads
with data argument of kthread_run( fun, data , NAME );
but this is not work I dont know why. I tried many possibility
and nothing works.
So I thought that... (0 Replies)
Hi
I'd like to know a logic or a strategy to count the number of I/O requests that are being made. I have the PID of the process for which this needed to be done. Does anyone have any clue as to how to do this? This is to be done in Kernel programming in C.
P.S:
This is to be done in... (2 Replies)
Hi Friends,
This is my first ever post on this forum. I am a new user in the Linux field. Although, I have been working for sometime with CentOS at my work, I would consider myself an amateur only in this field. :D
The way file system works in linux and the reason its open-source, has really... (7 Replies)
Hi there,
I have a problem with Unix kernel programming.
I have to write a program who should output the whole information the EXT4 extents contain. I have found many tutorial and information about how the EXT4 filesystem is working. Also There ar many information about the EXT4 structure but I... (1 Reply)
Hi there
At first.
My Name is Andre, 27 and im from germany
Im tryin to learn something about the Unix Kernel and System
At first im trying to manipulate the systemcalls
I want to have an Entry in the kernel logfile, whenever a new file is created.
I found out, that a file uses the... (0 Replies)
Hi
I want to implement something like this:
if( keyword1 exists)
then
check if(keyword2 exists in the same line)
then replace keyword 2 with New_Keyword
else
Add New_Keyword at the end of line
end if
eg:
Check for Keyword JUNGLE and add/replace... (7 Replies)
Discussion started by: dashing201
7 Replies
LEARN ABOUT DEBIAN
import-bug-from-debian
import-bug-from-debian(1) General Commands Manual import-bug-from-debian(1)NAME
import-bug-from-debian - Import bugs from Debian's BTS, and file them against Ubuntu in LP.
SYNOPSIS
import-bug-from-debian [options] bug...
import-bug-from-debian -h
DESCRIPTION
import-bug-from-debian clones bugs from Debian's BTS into Launchpad. Each bug listed on the command line has its initial report re-filed
against the same source package in Ubuntu. The Ubuntu bug is linked back to its Debian counterpart.
Each bug may be provided either as a bug number or URL.
OPTIONS -b, --browserless
Don't open the bug in a browser at the end.
-h, --help
Display a help message and exit.
-l INSTANCE, --lpinstance=INSTANCE
Use the specified instance of Launchpad (e.g. "staging"), instead of the default of "production".
-p PACKAGE, --package=PACKAGE
Launchpad package to file bug against, if not the same source package name as Debian. Useful for importing removal bugs filed
against ftp.debian.org.
--no-conf
Do not read any configuration files, or configuration from environment variables.
ENVIRONMENT
All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to
those in configuration files.
CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific
variable takes precedence over the package-wide variable.
IMPORT_BUG_FROM_DEBIAN_LPINSTANCE, UBUNTUTOOLS_LPINSTANCE
The default value for --lpinstance.
SEE ALSO ubuntu-dev-tools(5)AUTHORS
import-bug-from-debian was written by James Westby <james.westby@ubuntu.com>, and this manual page was written by Stefano Rivera <ste-
fanor@ubuntu.com>.
Both are released under the terms of the GNU General Public License, version 2.
ubuntu-dev-tools September 21 2010 import-bug-from-debian(1)