In netlink, what is interface address and what is local address.

2016-12-29 Thread Douglas Su
I am totally confused with these two addresses, don't they are the same? Can a same IP be set on different interface? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

How to setup network connection for initramfs running in QEMU?

2017-05-25 Thread Douglas Su
Thanks to this mail list, I have already successfully set up a simple initramfs and booted it in QEMU with busybox tools. However, there is no network connection for the initramfs, that makes me hard to exchange files between qemu and the host. Command `ip link show` tells there exists only

Re: Help! Can't subscribe kernel mail list

2018-01-10 Thread Douglas Su
> Probably has something to do with the fact that vger doesn't like sources > that send text/html. Find a provider that lets you send text/plain mail. Outlook permits its user to send text/plain mail. I think I should consult Microsoft. ___

Re: Help! Can't subscribe kernel mail list

2018-01-10 Thread Douglas Su
> That is exactly what happened, look at the response it gave you. You > need to use a better email server other than outlook.com, sorry. > Thank you, Greg. I will try other mail service provider later. ___ Kernelnewbies mailing list

Help! Can't subscribe kernel mail list

2018-01-10 Thread Douglas Su
After I sent 'subscribe linux-kernel' to majord...@vger.kernel.org,  I got an undelivered message, in which said: majord...@vger.kernel.org (majord...@vger.kernel.org) Your message wasn't delivered because the destination email system rejected your message for security or policy

What will happen if I kill a process which is waiting for the retuan ioctl() syscall?

2018-03-13 Thread Douglas Su
If I have these: 1. I have implemented a simple ioctl() system call which just delay a period and return. 2. Call this ioctl() from a userspace process, of course, this process will be blocked until ioctl() return. 3. Before ioctl() return, use `kill -9 ` command terminates the process.

Get notification when a block device is mounted.

2021-08-29 Thread Douglas Su
Hi, all: I want to get notified when a block device is mounted, and after some google searches, it seems a syscall named "mount_notified()" existed before but was removed in the latest kernel. For the latest kernel, is there any system call or other mechanisms cater this purpose? Thanks