On Mon, Oct 9, 2017 at 9:50 PM, Yubin Ruan wrote:
> ...
>> to Do The Right Thing on everything from an embedded system with 32M of RAM
>> and
>> only one major process running, to large mainframe class boxes with a
>> terabyte
>> of RAM, a large Oracle instance, and several hundred Apache / Tomc
Hi Everyone,
I was reading Intel's paper on Control-flow Enforcement Technology
(CET). Its available at from the Developer Zone at
https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf.
I've got a few open questions, and I would like to lurk
On Fri, Nov 10, 2017 at 8:30 AM, Lev Olshvang wrote:
> ...
> Besides to be security hole, I do not see any legitimate use except of live
> patching of shared object.
> I do not know whether production or mission critical system may take a risk
> of live patching, but development system
> would d
On Mon, Jan 29, 2018 at 10:41 AM, Augusto Mecking Caringi
wrote:
> On Fri, Jan 26, 2018 at 2:12 PM, wrote:
>> On Fri, 26 Jan 2018 05:53:20 -0500, Ruben Safir said:
>>> Its not even really C, at least not as a normal application developer
>>> thinks of it. This is systems programming with a lot
On Mon, Jan 29, 2018 at 12:33 PM, Greg KH wrote:
> On Mon, Jan 29, 2018 at 12:16:19PM -0500, Jeffrey Walton wrote:
>> ...
>> It would be nice if they moved away from UB and implementation defined
>> behvior, but sometimes the political problems are heavier than the
&
On Thu, Feb 8, 2018 at 12:10 PM, jjDaNiMoTh wrote:
> Hello everyone,
>
> There is an example of LTE netdevice in the Linux source tree?
>
> In particular, I would like to know if there is any device driver that
> implements the layers required by the 3GPP standard. I imagine that it
> should exist
On Tue, Feb 13, 2018 at 10:30 AM, Bjørn Mork wrote:
> Jeffrey Walton writes:
>
>> In addition to GKH's answer, what I have seen...
>>
>> Some Android code to talk to the radio is written in plain java, like
>> https://chro
On Wed, Feb 21, 2018 at 10:20 PM, wrote:
> On Thu, 22 Feb 2018 02:33:08 +, Alex Arvelaez said:
>> ...
>>
>> I'd like to contribute to the linux kernel eventually but I'm not sure
>
> https://lists.kernelnewbies.org/pipermail/kernelnewbies/2017-April/017765.html
This comes up so frequently th
On Sun, Mar 4, 2018 at 10:14 PM, Ruben Safir wrote:
> On 03/04/2018 09:35 PM, Alex Arvelaez wrote:
>> If you don't need high availability, what's the problem with the occasional
>> reboot?
>
> I have a life, and its a chore to reboot the 3 boxes after every
> upgrade. It runs my phones, my TV, m
On Fri, Mar 9, 2018 at 8:16 AM, Himanshu Jha
wrote:
> Hello everyone,
>
>
> I just compiled the kernel by passing "-Wformat-signedness" flag
>
> https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
>
> -Wformat-signedness:
> If -Wformat is specified, also warn if the format string requires an
>
Hi Everyone,
I'm working with Botan (https://botan.randombit.net/). It is a TLS
security library written in C++11.
On an old Pentium III machine the self tests are hanging. Other
platforms are OK. The strace tail is shown below.
I am not that familiar with this type of debugging, and I am lookin
On Sun, Jul 8, 2018 at 1:17 AM, inventsekar wrote:
> ...
> I am not sure if its a bad question... (i thought for few days about "can i
> ask this or not")
>
> If its a bad question, please accept la apologizes.. if admins wishes, this
> three email can/should be deleted.
My guess is, no one bothe
On Sun, Jul 8, 2018 at 8:35 AM, Cindy-Sue Causey
wrote:
> ...
> I'm just thinking out loud with respect to the context here and *not*
> the links... Is it about purity... and the word "tainted"?
>
> I've encountered the word "tainted" as it has been advocated (against)
> regarding Linux over the y
Hi Everyone,
I'm having trouble using a USB modem. It is a Conexant modem but it is
not responding to AT commands. Sample code is at
https://pastebin.com/84YUn9ey .
I think the first thing I need to do is verify the kernel
configuration for the device. For that:
$ sudo setserial -a /dev/ttyA
Hi Everyone,
I'm trying to trackdown a problem using my dialup modem. I have a
program that opens the modem and watches caller id's. It flashes the
hook when a telemarketer calls. It works well until...
When another program opens the modem then my program starts reading
intermittent responses int
On Sat, Mar 2, 2019 at 1:45 PM wrote:
>
> On Fri, 01 Mar 2019 23:29:53 -0500, Jeffrey Walton said:
>
> > I cannot seem to open the device in exclusive mode. The current open
> > is (I also tried with O_EXCL):
> >
> > int modem = open(device_path, O_RDWR
On Sun, Mar 3, 2019 at 12:55 AM wrote:
>
> On Sat, 02 Mar 2019 14:36:12 -0500, Jeffrey Walton said:
>
> > I feel like I am missing something... Does Linux consider the modem a
> > shared resource instead of an exclusive resource? What use cases
> > support two differen
On Sun, Mar 3, 2019 at 6:00 AM Greg KH wrote:
>
> On Sun, Mar 03, 2019 at 03:55:44AM -0500, Jeffrey Walton wrote:
> > ...
>
> Again, go delete modem manager off of your system, it is the thing that
> keeps opening the port up to see if you have made a valid connection on
>
Hi Everyone,
I'm working from http://man7.org/linux/man-pages/man4/tty_ioctl.4.html
. According to the man page:
TIOCEXCL void
Put the terminal into exclusive mode. No further open(2)
operations on the terminal are permitted. (They fail with
EBU
On Wed, Mar 6, 2019 at 2:32 AM Alexander Kapshuk
wrote:
>
> -- Forwarded message -
> From: Alexander Kapshuk
> Date: Wed, Mar 6, 2019 at 9:30 AM
> Subject: Re: undefined reference to `ioctl_tty'
> To:
> ...
> > $ cat test.c
> > #include
> > #include
> > #include
> > #include
On Wed, Mar 6, 2019 at 3:36 AM wrote:
>
> On Wed, 06 Mar 2019 01:58:41 -0500, Jeffrey Walton said:
>
> >TIOCEXCL void
> > Put the terminal into exclusive mode. No further open(2)
> > operations on the terminal are
Hi Everyone,
Ubuntu provided 5.0.0-27-generic today. I attempted to reboot but
booting fails due to a failed signature check.
I'd like to tell the kernel to skip the signature check during boot. I
found Ubuntu's UEFI | SecureBoot | DKMS
(https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS) wiki page. It
On Mon, Sep 2, 2019 at 5:00 PM Jeffrey Walton wrote:
>
> Ubuntu provided 5.0.0-27-generic today. I attempted to reboot but
> booting fails due to a failed signature check.
>
> I'd like to tell the kernel to skip the signature check during boot. I
> found Ubuntu's UEFI
Hi Everyone,
I'm having trouble with a C application that opens a USB modem. The
application is not receiving some data from a USR modem. Conexant
modems are OK.
I'm working through
https://www.kernel.org/doc/Documentation/usb/usbmon.txt . I found the
modem at Bus=01 Dev=24:
T: Bus=01 Lev=03 Pr
On Mon, Nov 11, 2019 at 11:31 AM Greg KH wrote:
>
> On Mon, Nov 11, 2019 at 11:11:06AM -0500, Jeffrey Walton wrote:
> > Hi Everyone,
> >
> > I'm having trouble with a C application that opens a USB modem. The
> > application is not receiving some data from a US
On Mon, Nov 11, 2019 at 12:24 PM Greg KH wrote:
>
> On Mon, Nov 11, 2019 at 11:40:51AM -0500, Jeffrey Walton wrote:
> > On Mon, Nov 11, 2019 at 11:31 AM Greg KH wrote:
> > >
> > > On Mon, Nov 11, 2019 at 11:11:06AM -0500, Jeffrey Walton wrote:
> > > &g
Hi Everyone,
I have one more question related to my problem of my program losing
data. I want to ensure I'm not using an anti-pattern that's causing
the problem.
I have a worker thread that blocks on read(2). When the read() occurs,
the fd is switch from blocking to non-blocking. Additional reads
On Tue, Nov 12, 2019 at 12:37 AM Greg KH wrote:
> ...
>
> > Here's why I want to specify a device number:
> >
> > $ cat /sys/kernel/debug/usb/devices | grep -i -c 'Bus=01'
> > 13
> >
> > It is too much information for me to sift through. I'll do it if I
> > have to, but I prefer the tools
On Tue, Nov 12, 2019 at 1:20 AM Jeffrey Walton wrote:
>
> On Tue, Nov 12, 2019 at 12:37 AM Greg KH wrote:
> > ...
> >
> > > Here's why I want to specify a device number:
> > >
> > > $ cat /sys/kernel/debug/usb/devices | grep -i -c 'Bus=
On Wed, Nov 13, 2019 at 4:59 AM Konstantin Andreev wrote:
>
> I have looked into the sources of the kernel 4.19.13.
>
> After the series of checks the fcntl(F_SETFL) just stores flags into the file
> descriptor, and that's all:
Ack, thanks. I did not think the kernel discarded the data when
swit
Hi Everyone,
My apologies if this one is off-topic.
I recently encountered a bad apt update using Ubuntu. The 5.0.0-36
kernel was installed, but it was missing network card drivers. I tried
to modprobe the network card drivers but they were missing.
I was able to recover by standing up a VM, cop
On Fri, Nov 15, 2019 at 5:08 PM Connor Kuehl wrote:
>
> On 11/15/19 1:18 PM, Jeffrey Walton wrote:
> >
> > My apologies if this one is off-topic.
> >
> > I recently encountered a bad apt update using Ubuntu. The 5.0.0-36
> > kernel was installed, but it was m
Hi Everyone,
I'm trying to run through the example at
https://www.kernel.org/doc/html/latest/networking/tls.html#kernel-tls
.
I'm working on Fedora 31 x86_64 (fully patched). Running my program results in:
$ ./ktls
setsockopt failed, 2, No such file or directory
I observed:
$ cat /
On Fri, Nov 29, 2019 at 2:48 PM Valentin Vidić
wrote:
>
> On Fri, Nov 29, 2019 at 02:36:10PM -0500, Jeffrey Walton wrote:
> > I'm trying to run through the example at
> > https://www.kernel.org/doc/html/latest/networking/tls.html#kernel-tls
> > .
> >
> &g
On Fri, Nov 29, 2019 at 2:57 PM Jeffrey Walton wrote:
>
> On Fri, Nov 29, 2019 at 2:48 PM Valentin Vidić
> wrote:
> >
> > On Fri, Nov 29, 2019 at 02:36:10PM -0500, Jeffrey Walton wrote:
> > > I'm trying to run through the example at
> > > https
On Fri, Nov 29, 2019 at 3:04 PM Jeffrey Walton wrote:
> ...
> So now I am at:
>
> $ gcc -Wall -g2 -O1 ktls.c -o ktls
> $ ./ktls
> setsockopt failed, 524, Unknown error 524
Now open in the Fedora bug tracker:
https://bugzilla.redhat.com/show_
On Sat, Nov 30, 2019 at 7:55 AM Valentin Vidic
wrote:
>
> ENOTSUPP is not available in userspace:
>
> setsockopt failed, 524, Unknown error 524
>
> Signed-off-by: Valentin Vidic
> ---
> net/tls/tls_main.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/tls/tls_
Hi Everyone,
Does the kernel have a Keychain API to save secrets locally? I'm
specifically looking for kernel assistance and a API to use across
different OSes.
Jeff
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnew
Hi Everyone,
I work with an open source project. We have a VM but it is low-end.
The machine suffers OOM kills. We don't have access to /etc/fstab.
Everything is an upsell with the VPS provider.
I'm trying to setup a swapfile during startup using Systemd but:
# swapon /swapfile
swapon: /
On Wed, Jan 8, 2020 at 1:23 PM Valentin Vidić
wrote:
>
> On Wed, Jan 08, 2020 at 01:09:23PM -0500, Jeffrey Walton wrote:
> > Hi Everyone,
> >
> > I work with an open source project. We have a VM but it is low-end.
> > The machine suffers OOM kills. We d
On Wed, Jan 8, 2020 at 1:43 PM Valentin Vidić
wrote:
>
> On Wed, Jan 08, 2020 at 01:33:21PM -0500, Jeffrey Walton wrote:
> > I believe this is the relevant part from the Pastebin:
> >
> > readlink("/swapfile", 0x7ffefb4c0810, 4096) = -1 EINVAL (Invalid argume
On Wed, Jan 8, 2020 at 1:26 PM Bernd Petrovitsch
wrote:
>
> Hi all!
>
> On 08/01/2020 19:09, Jeffrey Walton wrote:
> [...]
> > I work with an open source project. We have a VM but it is low-end.
> > The machine suffers OOM kills. We don't have access to /etc/fstab.
Hi Everyone,
I'm having trouble finding the HWCAP_* or HWCAP2_* for SHA-1 and
SHA-256 on x86 machines.
Poking around Torvald's GitHub does not reveal them in either auxvec.h
or hwcap2.h. Also see
https://github.com/torvalds/linux/tree/master/arch/x86/include/uapi/asm.
Grepping my local machine (x
Hi Everyone,
I have some build scripts that allow me to install updated developer
tools on older machines. It builds and installs tools like Git, Curl
and Wget. It also builds dependencies. The scripts can handle about 80
packages.
One of those scripts is building a package that is performing a
w
On Sat, Apr 18, 2020 at 1:57 PM Bijan Tabatabai wrote:
>
> I tried to send a patch to the linux-trace-devel mailing list using
> git-send-email, and the email got bounced back to me with the message
> > 553: 5.7.1 Hello [98.137.68.147], for your MAIL FROM address
> > policy analysis reported: Y
Hi Everyone,
We are having trouble with our MediaWiki installation on a low-end VM.
The VM is servicing a lot of spam traffic, and it is driving cpu usage
up to about 80%. The 404's appear to be more expensive then the 200's.
GoDaddy wrote to us and told us they were going to suspend our service
i
On Fri, Apr 24, 2020 at 11:07 PM Valdis Klētnieks
wrote:
>
> On Fri, 24 Apr 2020 18:28:21 -0400, Jeffrey Walton said:
>
> > The problem I am having is, adding the new information to the existing
> > iptables rules in /etc/sysconfig/iptables. I want to write my rules to
&g
On Fri, Apr 24, 2020 at 11:32 PM Keh-Ming Luoh wrote:
>
> Assuming these IP address are treated the same way in your iptables rule,
> ipset may help to make it simpler.
Thanks Keh-Ming.
Yeah, I was looking for that earlier.
Jeff
___
Kernelnewbies ma
On Sat, Apr 25, 2020 at 12:53 PM Valdis Klētnieks
wrote:
>
> On Sat, 25 Apr 2020 02:55:08 -0400, Jeffrey Walton said:
>
> > One last question... Should I create my own target - say mediawiki -
> > and append my rules to it? That may simplify things:
> >
> > * Head
Hi Guys,
I lost about four hours chasing inaccurate messages from Apache. It
turns out SElinux was denying access, so the EPERM was not really
accurate. But Apache saw EPERM or EACCESS and logged a message related
to Posix permissions.
As far as I know Posix does not authorize use of EPERM or EAC
On Sun, May 3, 2020 at 3:50 AM Valdis Klētnieks wrote:
>
> On Sat, 02 May 2020 23:55:02 -0400, Jeffrey Walton said:
> > I lost about four hours chasing inaccurate messages from Apache. It
> > turns out SElinux was denying access, so the EPERM was not really
> > accurate.
Hi Everyone,
I recently upgraded Ubuntu 18.04 x86_64 to the 5.4.0-37 kernel.
VirtualBox died, and I am trying to reinstall virtualbox-dkms. The
reinstall fails because the build fails. The log is below.
Is there anything I can do to solve the problem?
==
$ cat /var/lib/dkms/virtualbox/5
On Fri, Jun 19, 2020 at 12:27 AM Valdis Klētnieks
wrote:
>
> On Thu, 18 Jun 2020 08:13:00 +0200, Greg KH said:
> > On Thu, Jun 18, 2020 at 01:41:23AM -0400, Jeffrey Walton wrote:
> > > Hi Everyone,
> > >
> > > I recently upgraded Ubuntu 18.04 x86_64 to the
On Thu, Jul 16, 2020 at 8:22 AM 孙世龙 sunshilong wrote:
>
> Here is the code snippet:
> #define ipipe_read_tsc(t) \
> __asm__ __volatile__("rdtsc" : "=A"(t))
I hope that is i386 only, and not x86_64.
> I found that the rdtsc (Read Time-Stamp Counter) instruction is used
> to determine
On Thu, Jul 16, 2020 at 9:25 AM 孙世龙 sunshilong wrote:
>
> >The 'A' is the constraint EAX:RDX register pair.
> >Also see https://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html
> >and https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html.
> Thanks to your attached document, I find a lot of usefu
Hi Everyone,
I would like to disable EISA and its probes during boot. I found the
docs at https://www.kernel.org/doc/html/latest/driver-api/eisa.html,
but it does not discuss how to disable EISA or the probes.
I also found https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1543919,
where folks
On Sat, Sep 5, 2020 at 2:15 AM Greg KH wrote:
>
> On Fri, Sep 04, 2020 at 10:57:38PM -0400, Jeffrey Walton wrote:
> > Hi Everyone,
> >
> > I would like to disable EISA and its probes during boot. I found the
> > docs at https://www.kernel.org/doc/html/latest/driver-
On Sat, Sep 5, 2020 at 7:37 AM Greg KH wrote:
>
> On Sat, Sep 05, 2020 at 07:31:13AM -0400, Jeffrey Walton wrote:
> > On Sat, Sep 5, 2020 at 2:15 AM Greg KH wrote:
> > >
> > > On Fri, Sep 04, 2020 at 10:57:38PM -0400, Jeffrey Walton wrote:
> > > > Hi
On Sat, Sep 5, 2020 at 10:52 AM Greg KH wrote:
>
> ...
> > > > > > I would like to disable EISA and its probes during boot. I found the
> > > > > > docs at https://www.kernel.org/doc/html/latest/driver-api/eisa.html,
> > > > > > but it does not discuss how to disable EISA or the probes.
> > > > >
Hi Everyone,
Attached is a dmesg for a Fedora 33 machine that went sideways tonight
after a 'dnf upgrade' and reboot. The machine is a low-end Cherry
Trail. It boots but something broke with the USB modem. The error
message is " Failed to open device /dev/ttyACM0: No such file or
directory".
The
Hi Everyone,
I'm trying to setup a test case on ARM A-32. I want to ensure a NEON
code path is properly guarded at runtime.
I'd like to disable NEON at boot time so that a SIGILL is raised for
NEON instructions. If I get a SIGILL, it tells me there's some NEON in
non-guarded paths.
Is it possibl
On Mon, Mar 22, 2021 at 11:37 AM Muni Sekhar wrote:
>
> What are some good Linux projects in kernel space for final year
> computer.science engineering students?
> Could someone help and share your ideas on this please.
Hedging deployed cryptography.
Hedging can be used to keep the state of a ma
On Sun, Apr 25, 2021 at 7:09 AM John Wood wrote:
>
> I'm working in a LSM to detect and mitigate fork brute force attacks
> against vulnerable userspace applications. Now, to fine tuning the
> detection I want to detect a network activity. ...
> How can I detect that an external connection (using
On Mon, May 17, 2021 at 11:28 AM Hyeonggon Yoo <42.hye...@gmail.com> wrote:
> ...
> - what to do if there's a bug (like syzbot report), fixed it,
> but if we don't have that device?
You could also ping the mailing list and ask if someone has the
hardware available for testing.
I make most o
Hi Everyone,
I purchased a OBDLink SX
(https://www.amazon.com/gp/product/B005ZWM0R4). The device uses a FTDI
chip. I'm having trouble communicating with it. Commands like ATZ\r
hang. I've tried using raw terminals (cfmakeraw) and existing
terminals (tcgetattr).
Here's what I see in the logs:
[ 1
On Fri, Jul 30, 2021 at 4:09 PM Jeffrey Walton wrote:
>
> I purchased a OBDLink SX
> (https://www.amazon.com/gp/product/B005ZWM0R4). The device uses a FTDI
> chip. I'm having trouble communicating with it. Commands like ATZ\r
> hang. I've tried using raw terminals
On Tue, Oct 5, 2021 at 10:59 PM wrote:
>
> In linux-5.4.21 code,
>
> To prevent some variables from being ‘optimized out’ during kernel code
> analysis using gdb, I added in drivers/iommu/Makefile,
> ...
> ./include/linux/compiler-gcc.h:120:38: error: impossible constraint in 'asm'
>
> 120 | #d
On Mon, Nov 22, 2021 at 11:03 PM Muni Sekhar wrote:
>
> The following message is seen on the console "NMI: IOCK error (debug
> interrupt?) for reason 60 on CPU 0.", what does it mean?
Red Hat has a good article on the subject at
https://access.redhat.com/solutions/42261.
Jeff
__
On Thu, Jan 13, 2022 at 4:04 PM admin LI wrote:
>
> I'm developing a kernel module for an ARM machine, while debugging I found
> addresses
> printed are all randomized and useless for debugging.
>
> To prove I was not crazy I wrote this small program:
>
> -
> #incl
On Wed, Feb 9, 2022 at 11:36 AM Valdis Klētnieks
wrote:
> ...
> It turns out that the C keyword 'volatile' usually doesn't actually do what
> needs to happen if a variable actually *is* volatile and subject to change
> while the executing thread isn't looking.
>
> There's a good documentation file
On Fri, Mar 4, 2022 at 9:37 AM Mithran B wrote:
>
> On Fri, 4 Mar 2022 at 19:48, Greg KH wrote:
>>
>> On Fri, Mar 04, 2022 at 04:27:50PM +0530, Mithran B wrote:
>> > Hello,
>> >
>> > In Host and Gadget systems, enabled the USB CDC drivers.
>> > Then nodes are created as /dev/ttyAcm0 and /dev/ttyG
Hi Everyone,
Distros like Ubuntu provide a package called linux-firmware.
The problem I am trying to solve is, the latest linux-firmware seems
to have broken network stacks on my Ubuntu and Fedora machines. Just
about all (maybe all) of my Linux boxes lost networking last night
after they got the
On Sun, Oct 9, 2022 at 2:11 AM neutrino network
wrote:
> ...
> >> If so, you should probably install the kernel development headers
> >> packaged by your distribution,
> Trying to install headers with "sudo yum -y install kernel-headers" returns
> that headers are already installed even its rem
On Fri, Feb 10, 2023 at 5:43 PM Rahul Gore (Nokia) wrote:
>
> I’m trying to find private and shared memory usage of each process in Linux.
> ...
Application should _not_ share memory across processes. That's a
security vulnerability. One app could corrupt memory, and cause
unpredictable results
On Wed, Jul 3, 2024 at 4:21 AM Jamaleddine AMGHAR wrote:
>
> I am experiencing an abnormal performance issue with my Samsung SSD 970 EVO
> Plus 1TB (2B2QEXM7) on my Ubuntu 24.04 LTS system. My setup includes a 12th
> Gen Intel Core i7-12700 x 20 processor, and the SSD is connected to an M.2
> M
75 matches
Mail list logo