at. I tried to dig in the
kernel source code but can't find the place where this tracking occurs.
It doesn't. SA_RESTART is only meant to retry syscall that would have
returned EINTR.
In such case, there's no tracking to do, because nothing was actually
written, so the sy
bian.org/cgi-bin/bugreport.cgi?bug=815922
[5] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628843
This is probably some topic for (kernel|linux)-hardening@ mailing lists.
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
K
this HTTP server
> to an epoll() loop that monitors other FDs as well. No more worrying
> about accept(), and per-connection FD bookkeeping.
>
> I believe a construct like this would help some popular existing
> libraries as well, like zeromq and the grpc library.
>
> Does th
the keyring API
http://man7.org/linux/man-pages/man7/keyrings.7.html
https://www.kernel.org/doc/Documentation/security/keys.txt
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
6.925748] amdgpu: [powerplay]
last message was failed ret is 0
[7.419539] amdgpu: [powerplay]
failed to send message 15b ret is 0
[ 11.724123] amdgpu: [powerplay]
last message was failed ret is 0
and so on ...
Regards.
--
Yann Drone
Hi,
Le mercredi 01 mai 2019 à 21:39 +0200, Magnus Olsson a écrit :
> I'm trying to debug an issue on an embedded Linux (v4.4.107)
Current v4.4 stable is v4.4.179. Please upgrade first.
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies
sktop system.
[1] https://www.arduino.cc/en/Reference/Libraries
[2] https://www.arduino.cc/reference/en/language/functions/usb/mouse/
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnew
revent opening an existing file. Said
differently, it's used to ensure a new file is created, useful to
prevent race condition, where multiple processes compete to create a
file. For example think of temporary file created with random name.
Regards
--
Yann Droneaud
OPTEYA
_
nd precision.
Time synchronisation is a tough problem but it's required if you want
to be able to compare timestamp accross hosts in a network.
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
htt
not be valid indefinitely. But the
> solution of using mlock() sounds reasonable to me.
>
> I'd like to know the feasibility of the idea, and security
> implications, if any.
>
>
That's sound a lot like InfiniBand / RDMA. Have a look
nstall()
(also anon_inode_getfd(), but you should probably not use it).
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
ompletely, but it's worth a try.
>
> No, please don't do that. If you do, you will end up with a
> completly unsuported and unknown system and no one will be able to
> help you out with any sort of problem solving.
>
And what about -Og which is a dedicated opti
l,
> >
> > I'm trying to install headers from out-of-tree module. I've writed
> > this[1] Makefile. I have Kbuild files with header-y tokens poiting
> > for
> > propper folders and files. When I run "make headers_install" I got
> > this[2] error
tand what's your trying to achieve.
I can only propose you to use something like CONFIG_MMU=n, but as it's
a system wide choice with multiple drawbacks, I don't think it's
something you want to investigate into.
Regards.
--
Yann Droneaud
OPTEYA
__
Le mardi 06 octobre 2015 à 10:13 -0400, Kenneth Adam Miller a écrit :
>
>
> On Tue, Oct 6, 2015 at 9:58 AM, Yann Droneaud
> wrote:
> > Le mardi 06 octobre 2015 à 09:26 -0400, Kenneth Adam Miller a écrit
> > :
> >
> > > Any body know about the i
> > so that the next user process can acquire them, instead of them
> > being lost.
> >
> > Have you tried this? All of your resources should be freed
> > properly, if
> > not, let the uio maintainers know.
> >
> > thanks,
> >
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
They are needed. Add __user annotation, install sparse and build with
make C=1.
For the second one, if the tx_buf is large enough, you may be well using
something like get_user_page() to pin userspace memory inside the kernel
memory so that you don't have to copy the memory to access it.
Regards
om happening?
> If not, should I post a patch that fixes it to LKML? Or is it
> considered too "theoretical" and cannot happen in practice?
>
I haven't looked at your explanations, you should have come with a
reproductible test case to demonstrate the issue (involving slowing
down one CPU ?).
Anyway, such deep knowledge on the mutex implementation has to be found
on lkml.
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Greg,
Le mercredi 04 mars 2015 à 10:11 -0800, Greg KH a écrit :
> On Wed, Mar 04, 2015 at 06:59:04PM +0100, Yann Droneaud wrote:
> > Hi,
> >
> > I have a device and I have to write a driver that exposes the
> > following three operations to kernel modules AN
ing the lock die / exit.
Perhaps I need a mechanism to be notified of the death of the
process owning the lock.
Do you have such mean in mind ?
Or any other reasonable solution to implement the three operations of
such driver ?
Regards.
--
Yann Droneaud
OPTEYA
to be a unified-diff format patch
>
> I thought that it might be a problem with my git. So I clone the git tree
> again.
>
> So can anyone help me, what am I missing ?
>
If it's not a patch, you have to use -f flag to check a plain sourc
.gmane.org/gmane.linux.kernel.kernelnewbies
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
0.4.2.el6.x86_64
> drwxr-xr-x. 7 root root 4096 Jul 15 2013 2.6.32-358.6.2.el6.x86_64
> drwxr-xr-x 8 root root 4096 Aug 12 2013 2.6.39-300.17.1.el6uek.x86_64
> drwxr-xr-x. 4 root root 4096 Jul 10 2013 2.6.39-400.24.1.el6uek.x86_6
otice that the driver .ko gets generated for 2.6.39- though
> I am booted into 2.6.32-. Can anyone help me figure out why this
> is happening?
>
Could you check that /lib/modules/2.6.32-/build is not a symbolic
link to linux 2.6.
ULL pointer dereference vulnerabilities?"
https://access.redhat.com/site/articles/20484
"SELinux hardening for mmap_min_addr protections" Eric Paris August
26th, 2009
http://eparis.livejournal.com/891.html
"Much ado about NULL: Exploiting a
t testing Linux
> Kernel.
> Thanks.
>
You might want to test "-next" (short hand for "linux-next"), have a
look at
http://linux.f-seidel.de/linux-next/
http://linux.f-seidel.de/linux-next/pmwiki/pmwiki.php?n=Linux-next.Shor
So you will probably end up creating multiple topic branches, one for
each
parent version you're going to target.
But you probably don't have to publish your branches if you're work is
limited
to a dozen of patches. With more patches, you might ask the maintainer.
Regards.
--
Yann D
(SZ_16KB-1)/4;i++)
src = readl(tcpm_base+(i * 4));
Regards
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
irectory.
But I find this tasteless and error prone.
Do someone know another method or a patch to the kbuild system to
improve external module compilation ?
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kerneln
Hi,
Le mardi 15 janvier 2013 à 07:59 +0800, 卜弋天 a écrit :
>
> 在 2013-1-11,0:42,"Yann Droneaud" 写道:
> >> - Any ideas for a platform where you would expect struct nbd_reply to
> >>be other than 4 + 4 + 8 = 16 bytes in size?
> >
> > Look for a
ng
control to the kernel.
[who use this today ... with kernel far bigger than 1.44MBytes
btw, bootsect.S is no more included in the kernel.
Floppy booting rely on syslinux]
A boot loader such as Lilo and GRUB load the kernel image in memory and
transfer control to the setup code.
Regards.
be other than 4 + 4 + 8 = 16 bytes in size?
>
Look for an ABI that require 'char' with either property:
- size > 1 byte
- alignment > 8 (16 bytes !)
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
achieve the same result (using a
filesystem image).
The kernel is using the "output" of mkfs later, when you issue "mount"
command to mount the filesystem stored on the block device.
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewb
gt; Do you know we are in 2012 ?
>
> Some people are even saying that the end of the world will be in two
> days.
This is already the end of the world:
Zombie programs are coming back to live !
Blue screen of the death and such.
(hey, ju
ight want to describe the problem you're trying to fix or at least
a use case.
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
LL to remaining processes, flush
the filesystems, try to remount them read-only, and then proceed to
reboot.
[1] http://en.wikipedia.org/wiki/Magic_SysRq_key
[2] http://kernel.org/doc/Documentation/sysrq.txt
PS: you're looking for sysrq_handle_reboot() in drivers/tty/sysrq.c
which call e
nd is asking for a reboot. So what you describe seems more
likely to be a hardware problem.
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Le samedi 08 décembre 2012 à 04:02 -0500, devendra.aaru a écrit :
> On Sat, Dec 8, 2012 at 3:03 AM, Yann Droneaud wrote:
> > cd net/bluetooth
> > make -C $PWD/../../ M=$PWD modules
> >
> > (But if you change a configuration parameter in .config,
> > you will need
>
>
> somehow telling the MODPOST that only one module is changes ?
>
>
> I remember I once saw (not sure) a suggestion to build only a
> specified moule like:
> make net/bluetooth
> But in this case the result is the same.
>
cd net/bluetooth
make -C $PWD/../../
cast to a "bool".
After applying !!(x), the value will be either 0 or 1.
It's roughly equivalent to (((x) != 0) ? 1 : 0)
Regards.
--
Yann Droneaud
OPTEYA
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
the 3rd of december 2009. Even the -rt
project switch to newer kernel (eg. no less than 3.0, and up to 3.4),
see http://rt.wiki.kernel.org/
You should at least switch to a current long term support kernels, for
example Linux 3.4. See
http://www.kroah.com/log/linux/stable-status-
41 matches
Mail list logo