Re: Calculating private and shared memory for processes

2023-02-13 Thread Jeffrey Walton
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

Re: Missing linux-headers

2022-10-09 Thread Jeffrey Walton
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

Which vger list is for linux-firmware?

2022-03-05 Thread Jeffrey Walton
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

Re: USB CDC performance test

2022-03-04 Thread Jeffrey Walton
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

Re: Fwd: Need guidance regarding fixing styleguide error in rtl871x_pwrctrl.h

2022-02-09 Thread Jeffrey Walton
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

Re: How to disable address randomization ?

2022-01-13 Thread Jeffrey Walton
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: > > - >

Re: x86, nmi: IOCK error

2021-11-22 Thread Jeffrey Walton
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

Re: error: impossible constraint in 'asm' when compiling kernel code with -O0 option

2021-10-05 Thread Jeffrey Walton
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 |

Re: Communicating with a FTDI device

2021-07-30 Thread Jeffrey Walton
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 (cfmakera

Communicating with a FTDI device

2021-07-30 Thread Jeffrey Walton
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: [

Re: How to test device driver?

2021-05-18 Thread Jeffrey Walton
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

Re: Test if a socket accept is from external network

2021-04-25 Thread Jeffrey Walton
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

Re: kernel projects for students

2021-03-22 Thread Jeffrey Walton
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

Is it possible to disable NEON to cause a trap with NEON code?

2021-02-12 Thread Jeffrey Walton
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

es8316 i2c-ESSX8316:00: ASoC: error at soc_component_write_no_lock

2020-11-19 Thread Jeffrey Walton
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

Re: Disable EISA and probes

2020-09-05 Thread Jeffrey Walton
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. > > > > >

Re: Disable EISA and probes

2020-09-05 Thread Jeffrey Walton
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: > > > >

Re: Disable EISA and probes

2020-09-05 Thread Jeffrey Walton
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-

Disable EISA and probes

2020-09-04 Thread Jeffrey Walton
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

Re: How to comprehend this code snippet: __asm__ __volatile__("rdtsc" : "=A"(t))?

2020-07-16 Thread Jeffrey Walton
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

Re: How to comprehend this code snippet: __asm__ __volatile__("rdtsc" : "=A"(t))?

2020-07-16 Thread Jeffrey Walton
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

Re: DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed

2020-06-18 Thread Jeffrey Walton
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

DKMS module and recipe for target '.../virtualbox/5.2.34/build/vboxdrv' failed

2020-06-17 Thread Jeffrey Walton
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

Re: SElinux and its own error code?

2020-05-03 Thread Jeffrey Walton
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 > > accura

SElinux and its own error code?

2020-05-02 Thread Jeffrey Walton
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

Re: iptables and combining additional rule sources

2020-04-25 Thread Jeffrey Walton
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

Re: iptables and combining additional rule sources

2020-04-25 Thread Jeffrey Walton
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

Re: iptables and combining additional rule sources

2020-04-25 Thread Jeffrey Walton
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 t

iptables and combining additional rule sources

2020-04-24 Thread Jeffrey Walton
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

Re: Email being rejected by vger.kernel.org

2020-04-22 Thread Jeffrey Walton
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:

Monitor filesystem write to a specific directory?

2020-03-31 Thread Jeffrey Walton
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

HWCAP for SHA-1 and SHA-256

2020-02-22 Thread Jeffrey Walton
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

Re: Alternate method of running swapon?

2020-01-08 Thread Jeffrey Walton
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. >

Re: Alternate method of running swapon?

2020-01-08 Thread Jeffrey Walton
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

Re: Alternate method of running swapon?

2020-01-08 Thread Jeffrey Walton
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

Alternate method of running swapon?

2020-01-08 Thread Jeffrey Walton
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:

Kernel assisted keychain?

2019-12-20 Thread Jeffrey Walton
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

Re: [PATCH] net/tls: Fix return values for setsockopt

2019-11-30 Thread Jeffrey Walton
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

Re: Kernel TLS

2019-11-29 Thread Jeffrey Walton
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_

Re: Kernel TLS

2019-11-29 Thread Jeffrey Walton
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://ww

Re: Kernel TLS

2019-11-29 Thread Jeffrey Walton
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 > > . > > > > I'

Kernel TLS

2019-11-29 Thread Jeffrey Walton
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

Re: Which package typically includes network controller drivers

2019-11-15 Thread Jeffrey Walton
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

Which package typically includes network controller drivers

2019-11-15 Thread Jeffrey Walton
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,

Re: Switch a fd between blocking and non-blocking mode?

2019-11-13 Thread Jeffrey Walton
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

Re: How to log USB modem data for a specific device?

2019-11-12 Thread Jeffrey Walton
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=01' > &

Re: How to log USB modem data for a specific device?

2019-11-11 Thread Jeffrey Walton
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

Switch a fd between blocking and non-blocking mode?

2019-11-11 Thread Jeffrey Walton
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

Re: How to log USB modem data for a specific device?

2019-11-11 Thread Jeffrey Walton
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

Re: How to log USB modem data for a specific device?

2019-11-11 Thread Jeffrey Walton
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 USR mod

How to log USB modem data for a specific device?

2019-11-11 Thread Jeffrey Walton
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

Re: Disable kernel signature checks during boot on Ubuntu?

2019-09-02 Thread Jeffrey Walton
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 | SecureBo

Disable kernel signature checks during boot on Ubuntu?

2019-09-02 Thread Jeffrey Walton
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.

Re: undefined reference to `ioctl_tty'

2019-03-06 Thread Jeffrey Walton
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

Re: undefined reference to `ioctl_tty'

2019-03-05 Thread Jeffrey Walton
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

undefined reference to `ioctl_tty'

2019-03-05 Thread Jeffrey Walton
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

Re: How to make /dev/ttyACM0 (and friends) exclusive?

2019-03-04 Thread Jeffrey Walton
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 conne

Re: How to make /dev/ttyACM0 (and friends) exclusive?

2019-03-03 Thread Jeffrey Walton
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

Re: How to make /dev/ttyACM0 (and friends) exclusive?

2019-03-02 Thread Jeffrey Walton
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

How to make /dev/ttyACM0 (and friends) exclusive?

2019-03-01 Thread Jeffrey Walton
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

Configuring a Conexant USB modem

2019-02-14 Thread Jeffrey Walton
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

Re: Regarding Signing Linux kernel with Microsoft secure boot keys for UEFI

2018-07-08 Thread Jeffrey Walton
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

Re: Regarding Signing Linux kernel with Microsoft secure boot keys for UEFI

2018-07-07 Thread Jeffrey Walton
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

Hang in FUTEX_WAKE_PRIVATE after clock_gettime

2018-03-24 Thread Jeffrey Walton
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

Re: Compiling kernel with -Wformat-signedness gcc flag

2018-03-09 Thread Jeffrey Walton
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

Re: Year 2038 time set problem

2018-03-05 Thread Jeffrey Walton
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

Re: I'd like to contribute but I don't know how...

2018-02-21 Thread Jeffrey Walton
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

Re: Interface between LTE devices and Linux

2018-02-13 Thread Jeffrey Walton
On Tue, Feb 13, 2018 at 10:30 AM, Bjørn Mork <bj...@mork.no> wrote: > Jeffrey Walton <noloa...@gmail.com> 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

Re: Interface between LTE devices and Linux

2018-02-13 Thread Jeffrey Walton
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

Re: Linux Kernel contains only C code?

2018-01-29 Thread Jeffrey Walton
On Mon, Jan 29, 2018 at 12:33 PM, Greg KH <g...@kroah.com> 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 he

Re: Linux Kernel contains only C code?

2018-01-29 Thread Jeffrey Walton
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 >>>

Re: Why replacing running executable file is forbidden, but overwriting of memory mapped shared object is allowed ?

2017-11-10 Thread Jeffrey Walton
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

Control-flow Enforcement Technology (CET) mailing list?

2017-10-30 Thread Jeffrey Walton
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

Re: help in the MM Area of the Linux Kernel

2017-10-09 Thread Jeffrey Walton
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