[PATCH v2] qnx4_match: do not over run the buffer

2020-11-23 Thread Anders Larsen
] ? fpregs_assert_state_consistent+0x4d/0x60 [ 513.256446] ? exit_to_user_mode_prepare+0x2d/0xf0 [ 513.256551] ? __x64_sys_newfstatat+0x39/0x60 [ 513.256651] do_syscall_64+0x33/0x40 [ 513.256750] entry_SYSCALL_64_after_hwframe+0x44/0xa9 Co-Developed-by: Anders Larsen Signed-off-by: Tong Zhang Signed-off

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Anders Larsen
On Saturday, 2020-11-21 22:47 Tong Zhang wrote: > > > On Nov 21, 2020, at 4:40 PM, Anders Larsen wrote: > > > > On Friday, 2020-11-20 22:21 Tong Zhang wrote: > >> the di_fname may not terminated by '\0', use strnlen to prevent buffer > >> overrun

Re: [PATCH v1] qnx4_match: do not over run the buffer

2020-11-21 Thread Anders Larsen
On Friday, 2020-11-20 22:21 Tong Zhang wrote: > the di_fname may not terminated by '\0', use strnlen to prevent buffer > overrun > > --- > fs/qnx4/namei.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/qnx4/namei.c b/fs/qnx4/namei.c > index

Re: [PATCH] qnx4: do not interpret -EIO as a correct address

2020-11-02 Thread Anders Larsen
On Friday, 2020-10-23 23:16 Tong Zhang wrote: > qnx4_block_map() may return -EIO on funny qnx4 fs image, in this case do > not interpret -EIO as a correct address > > Signed-off-by: Tong Zhang > --- > fs/qnx4/inode.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/fs/qnx4/inode.c

Re: [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add Shanghai Top Display Optolelectronics vendor prefix

2020-09-08 Thread Anders Larsen
On Tuesday, 2020-09-08 09:54 Neil Armstrong wrote: > Shanghai Top Display Optolelectronics Co., Ltd is a display manufacturer > from Shanghai. > Web site of the company: http://www.shtdo.com/ > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2

Re: [PATCH] Replace HTTP links with HTTPS ones: QNX4

2020-07-06 Thread Anders Larsen
er information is available at <https://www.qnx.com/>. > Say Y if you intend to mount QNX hard disks or floppies. > > To compile this file system support as a module, choose M here: the Acked-by: Anders Larsen

Re: [PATCH] fs/qnx: Delete unnecessary checks before brelse()

2019-09-03 Thread Anders Larsen
f (bh2) > - brelse(bh2); > + brelse(bh1); > + brelse(bh2); > outnobh: > kfree(qs); > s->s_fs_info = NULL; Acked-by: Anders Larsen

Re: [PATCH] isofs: fix timestamps beyond 2027

2017-10-19 Thread Anders Larsen
On Thursday, 19 October 2017 12:51:05 CEST Al Viro wrote: > On Thu, Oct 19, 2017 at 11:50:18AM +0200, Arnd Bergmann wrote: > > isofs uses a 'char' variable to load the number of years since > > 1900 for an inode timestamp. On architectures that use a signed > > char type by default, this results

Re: [PATCH] isofs: fix timestamps beyond 2027

2017-10-19 Thread Anders Larsen
On Thursday, 19 October 2017 12:51:05 CEST Al Viro wrote: > On Thu, Oct 19, 2017 at 11:50:18AM +0200, Arnd Bergmann wrote: > > isofs uses a 'char' variable to load the number of years since > > 1900 for an inode timestamp. On architectures that use a signed > > char type by default, this results

Re: MAINTAINERS without commits in the last 3 years

2016-08-30 Thread Anders Larsen
On Wednesday, 2016-08-24 16:33 Joe Perches wrote: > Many email addresses in MAINTAINERS no longer work so many > sections in > MAINTAINERS could likely be considered either > obsolete or unmaintained. Whereas I agree it's helpful to purge dysfunctional adresses... > These M: entries in

Re: MAINTAINERS without commits in the last 3 years

2016-08-30 Thread Anders Larsen
On Wednesday, 2016-08-24 16:33 Joe Perches wrote: > Many email addresses in MAINTAINERS no longer work so many > sections in > MAINTAINERS could likely be considered either > obsolete or unmaintained. Whereas I agree it's helpful to purge dysfunctional adresses... > These M: entries in

Re: Linux device driver for USB WIFI needs integrating

2015-05-03 Thread Anders Larsen
On Monday, 27. April 2015 16:49:09 Anders Larsen wrote: > On 2015-04-27 16:23, Chris Ward wrote: > > What mainline kernel level will contain the patch ? > > Marek (CC'ed) added the USB ID some 4 weeks ago, so it's scheduled for > the upcoming 4.1 FYI yesterday Marek's

Re: Linux device driver for USB WIFI needs integrating

2015-05-03 Thread Anders Larsen
On Monday, 27. April 2015 16:49:09 Anders Larsen wrote: On 2015-04-27 16:23, Chris Ward wrote: What mainline kernel level will contain the patch ? Marek (CC'ed) added the USB ID some 4 weeks ago, so it's scheduled for the upcoming 4.1 FYI yesterday Marek's patch was accepted

Re: Linux device driver for USB WIFI needs integrating

2015-04-27 Thread Anders Larsen
On 2015-04-27 16:23, Chris Ward wrote: With the patch actually applied, the WiFi adapter is recognised and works, both on boot and if the adapter is plugged in later. So, all is well. glad to hear that - and thanks for testing! What mainline kernel level will contain the patch ? Marek

Re: Linux device driver for USB WIFI needs integrating

2015-04-27 Thread Anders Larsen
On 2015-04-27 10:38, Chris Ward wrote: I have put the requested files in http://tjcw.freeshell.org/usbn10/ . The ones with 'after' in the name are with the device plugged in at boot. well, .config contains CONFIG_RTL8192CU=m so the driver is built. and dmesg contains usb 3-2: new

Re: Linux device driver for USB WIFI needs integrating

2015-04-27 Thread Anders Larsen
On 2015-04-27 10:38, Chris Ward wrote: I have put the requested files in http://tjcw.freeshell.org/usbn10/ . The ones with 'after' in the name are with the device plugged in at boot. well, .config contains CONFIG_RTL8192CU=m so the driver is built. and dmesg contains usb 3-2: new

Re: Linux device driver for USB WIFI needs integrating

2015-04-27 Thread Anders Larsen
On 2015-04-27 16:23, Chris Ward wrote: With the patch actually applied, the WiFi adapter is recognised and works, both on boot and if the adapter is plugged in later. So, all is well. glad to hear that - and thanks for testing! What mainline kernel level will contain the patch ? Marek

Re: Linux device driver for USB WIFI needs integrating

2015-04-26 Thread Anders Larsen
On 2015-04-24 19:31, Chris Ward wrote: No, with the patch the device isn't recognised at boot time. Strange. Does the module 'rtl8192cu' get loaded automatically (check with 'lsmod')? What happens if you wait until the system is booted, then plug the device? Could you put your '.config'

Re: Linux device driver for USB WIFI needs integrating

2015-04-26 Thread Anders Larsen
On 2015-04-24 19:31, Chris Ward wrote: No, with the patch the device isn't recognised at boot time. Strange. Does the module 'rtl8192cu' get loaded automatically (check with 'lsmod')? What happens if you wait until the system is booted, then plug the device? Could you put your '.config'

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 14:25, Anders Larsen wrote: On 2015-04-24 13:59, Chris Ward wrote: lsusb shows Bus 003 Device 024: ID 0b05:17ba ASUSTek Computer, Inc. does the attached trivial patch help? (it should make the in-tree driver recognise your ASUS device) I just realised that the above USB id

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
From: Anders Larsen Date: Fri, 24 Apr 2015 14:17:33 +0200 Subject: [PATCH] rtlwifi/rtl8192cu: Add USB id for ASUS USB-N10 NANO "ASUS USB-N10 NANO" wifi adapter USB id: 0b05:17ba Signed-off-by: Anders Larsen --- drivers/net/wireless/rtlwifi/rtl8192cu/sw.c | 1 + 1 file changed, 1

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 13:37, Chris Ward wrote: I just tried building the driver from ASUS with the current kernel from OpenSUSE (3.16.7-21), and got a trap when booting (in the insmod, I think) With an out-of-tree driver you are on your own, sorry. Did you enable the in-tree driver

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 12:37, Chris Ward wrote: There is a Linux driver here http://www.asus.com/Networking/USBN10_NANO/HelpDesk_download/ that needs integrating into the 'kernel.org' source. Isn't that device supported by the in-tree RTL8192CU/RTL8188CU driver? (CONFIG_RTL8192CU,

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 13:37, Chris Ward wrote: I just tried building the driver from ASUS with the current kernel from OpenSUSE (3.16.7-21), and got a trap when booting (in the insmod, I think) With an out-of-tree driver you are on your own, sorry. Did you enable the in-tree driver

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 12:37, Chris Ward wrote: There is a Linux driver here http://www.asus.com/Networking/USBN10_NANO/HelpDesk_download/ that needs integrating into the 'kernel.org' source. Isn't that device supported by the in-tree RTL8192CU/RTL8188CU driver? (CONFIG_RTL8192CU,

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
From: Anders Larsen a...@alarsen.net Date: Fri, 24 Apr 2015 14:17:33 +0200 Subject: [PATCH] rtlwifi/rtl8192cu: Add USB id for ASUS USB-N10 NANO ASUS USB-N10 NANO wifi adapter USB id: 0b05:17ba Signed-off-by: Anders Larsen a...@alarsen.net --- drivers/net/wireless/rtlwifi/rtl8192cu/sw.c | 1 + 1

Re: Linux device driver for USB WIFI needs integrating

2015-04-24 Thread Anders Larsen
On 2015-04-24 14:25, Anders Larsen wrote: On 2015-04-24 13:59, Chris Ward wrote: lsusb shows Bus 003 Device 024: ID 0b05:17ba ASUSTek Computer, Inc. does the attached trivial patch help? (it should make the in-tree driver recognise your ASUS device) I just realised that the above USB id

[PATCH] pch_gbe: ethtool cannot change parameters when link is down

2013-08-18 Thread Anders Larsen
>speed doesn't matter as long as it is valid, since a re-negotation is forced afterwards). Signed-off-by: Anders Larsen --- .../ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_eth

[PATCH] pch_gbe: ethtool cannot change parameters when link is down

2013-08-18 Thread Anders Larsen
matter as long as it is valid, since a re-negotation is forced afterwards). Signed-off-by: Anders Larsen a...@alarsen.net --- .../ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/oki-semi/pch_gbe

Re: kernel mailing list permalinks

2013-08-06 Thread Anders Larsen
On 2013-08-06 23:23, H. Peter Anvin wrote: On 08/06/2013 02:11 PM, Bjorn Helgaas wrote: >> >> The above link is also a good example of subtleness: + in a URL means a >> space character, it has to be escaped as %2B. Particularly a problem in >> gmail message-ids. the link in question

Re: kernel mailing list permalinks

2013-08-06 Thread Anders Larsen
On 2013-08-06 23:23, H. Peter Anvin wrote: On 08/06/2013 02:11 PM, Bjorn Helgaas wrote: The above link is also a good example of subtleness: + in a URL means a space character, it has to be escaped as %2B. Particularly a problem in gmail message-ids. the link in question works just

Re: [PATCH] [trivial]treewide: Fix typo in various drivers

2012-12-28 Thread Anders Larsen
On 2012-12-28 16:49, Masanari Iida wrote: Correct spelling typo in printk within various drivers. --- diff --git a/net/caif/cfcnfg.c b/net/caif/cfcnfg.c index ba9cfd4..8d0fe66 100644 --- a/net/caif/cfcnfg.c +++ b/net/caif/cfcnfg.c @@ -402,7 +402,7 @@ cfcnfg_linkup_rsp(struct cflayer *layer, u8

Re: [PATCH] [trivial]treewide: Fix typo in various drivers

2012-12-28 Thread Anders Larsen
On 2012-12-28 16:49, Masanari Iida wrote: Correct spelling typo in printk within various drivers. --- diff --git a/net/caif/cfcnfg.c b/net/caif/cfcnfg.c index ba9cfd4..8d0fe66 100644 --- a/net/caif/cfcnfg.c +++ b/net/caif/cfcnfg.c @@ -402,7 +402,7 @@ cfcnfg_linkup_rsp(struct cflayer *layer, u8

Re: [PATCH 21/25] userns: Convert the qnx4 filesystem to use kuid/kgid where appropriate

2012-09-20 Thread Anders Larsen
On 2012-09-20 13:42:02, Eric W. Biederman wrote: > From: "Eric W. Biederman" > > Cc: Anders Larsen > Acked-by: Serge Hallyn > Signed-off-by: Eric W. Biederman Acked-by: Anders Larsen > --- > fs/qnx4/inode.c |4 ++-- > init/Kconfig|1 - >

Re: [PATCH 21/25] userns: Convert the qnx4 filesystem to use kuid/kgid where appropriate

2012-09-20 Thread Anders Larsen
On 2012-09-20 13:42:02, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com Cc: Anders Larsen a...@alarsen.net Acked-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Eric W. Biederman ebied...@xmission.com Acked-by: Anders Larsen a...@alarsen.net --- fs/qnx4

Re: [PATCH] [397/2many] MAINTAINERS - QNX4 FILESYSTEM

2007-08-13 Thread Anders Larsen
On 2007-08-13 08:34:35, [EMAIL PROTECTED] wrote: > Add file pattern to MAINTAINER entry > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > > diff --git a/MAINTAINERS b/MAINTAINERS > index 6a99fe5..ed3be09 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -3799,6 +3799,8 @@ M: [EMAIL

Re: [PATCH] [397/2many] MAINTAINERS - QNX4 FILESYSTEM

2007-08-13 Thread Anders Larsen
On 2007-08-13 08:34:35, [EMAIL PROTECTED] wrote: Add file pattern to MAINTAINER entry Signed-off-by: Joe Perches [EMAIL PROTECTED] diff --git a/MAINTAINERS b/MAINTAINERS index 6a99fe5..ed3be09 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3799,6 +3799,8 @@ M: [EMAIL PROTECTED]

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Anders Larsen
On 2007-06-19 20:23:00, Alexandre Oliva wrote: > If you take the Wikipedia definition of Tivoization, you'll see it's > about copyleft software only, and no law mandates the use of copyleft > software. There's no end to bad laws, but a law that mandated the use > of copyleft (=> free) software

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Anders Larsen
On 2007-06-18 21:50:12, Alexandre Oliva wrote: > Given the ROM exception in GPLv3, I guess you could seal and > anti-tamper it as much as you want, and leave the ROM at such a place > in which it's easily replaceable but with signature checking and all > such that the user doesn't install ROM that

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Anders Larsen
On 2007-06-18 21:50:12, Alexandre Oliva wrote: Given the ROM exception in GPLv3, I guess you could seal and anti-tamper it as much as you want, and leave the ROM at such a place in which it's easily replaceable but with signature checking and all such that the user doesn't install ROM that is

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Anders Larsen
On 2007-06-19 20:23:00, Alexandre Oliva wrote: If you take the Wikipedia definition of Tivoization, you'll see it's about copyleft software only, and no law mandates the use of copyleft software. There's no end to bad laws, but a law that mandated the use of copyleft (= free) software and at

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-18 Thread Anders Larsen
On Sat, 16 Jun 2007 22:54:56 -0300, Alexandre Oliva wrote: > I don't know any law that requires tivoization. Not exactly laws, but pretty close: Credit-card payment terminals are subject to strict security certification, where it has to be ensured that a) the user cannot tinker with the device

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-18 Thread Anders Larsen
On Sat, 16 Jun 2007 22:54:56 -0300, Alexandre Oliva wrote: I don't know any law that requires tivoization. Not exactly laws, but pretty close: Credit-card payment terminals are subject to strict security certification, where it has to be ensured that a) the user cannot tinker with the device

Re: request_module: runaway loop modprobe net-pf-1 (is Re: Linux 2.6.21-rc1)

2007-02-22 Thread Anders Larsen
On 2007-02-22 01:18:09, Greg KH wrote: > On Thu, Feb 22, 2007 at 06:16:23AM +0900, OGAWA Hirofumi wrote: > > E.g. something calls the request_modle(), and if hotplug is using > > socket(PF_UNIX) and af_unix is module, it also calls request_modle()? > > > > Just my guess though... > > Ugh, why

Re: request_module: runaway loop modprobe net-pf-1 (is Re: Linux 2.6.21-rc1)

2007-02-22 Thread Anders Larsen
On 2007-02-22 01:18:09, Greg KH wrote: On Thu, Feb 22, 2007 at 06:16:23AM +0900, OGAWA Hirofumi wrote: E.g. something calls the request_modle(), and if hotplug is using socket(PF_UNIX) and af_unix is module, it also calls request_modle()? Just my guess though... Ugh, why does anyone

Re: Is it useful to support user level drivers

2001-06-24 Thread Anders Larsen
"Richard B. Johnson" wrote: > > On Fri, 22 Jun 2001, Anders Larsen wrote: > > > "Richard B. Johnson" wrote: > > > > > > QNX does not have any difference between user-space and kernel space. > > > It's not paged-virtual. It's just

Re: Is it useful to support user level drivers

2001-06-24 Thread Anders Larsen
Richard B. Johnson wrote: On Fri, 22 Jun 2001, Anders Larsen wrote: Richard B. Johnson wrote: QNX does not have any difference between user-space and kernel space. It's not paged-virtual. It's just one big sheet of address space with no memory protection (everything is shared

Re: Is it useful to support user level drivers

2001-06-21 Thread Anders Larsen
"Richard B. Johnson" wrote: > > QNX does not have any difference between user-space and kernel space. > It's not paged-virtual. It's just one big sheet of address space > with no memory protection (everything is shared). All procedures > to be executed are known at compile time. That's

Re: Is it useful to support user level drivers

2001-06-21 Thread Anders Larsen
Richard B. Johnson wrote: QNX does not have any difference between user-space and kernel space. It's not paged-virtual. It's just one big sheet of address space with no memory protection (everything is shared). All procedures to be executed are known at compile time. That's completely,

UMSDOS symlink bug

2001-06-04 Thread Anders Larsen
Hi, last week I got bitten by the UMSDOS symlink bug (symlinks are created with the last character missing). After having found and fixed the problem, I located your address to report it and found that the problem (and the fix!) has been known for at least half a year. Although your patches for

UMSDOS symlink bug

2001-06-04 Thread Anders Larsen
Hi, last week I got bitten by the UMSDOS symlink bug (symlinks are created with the last character missing). After having found and fixed the problem, I located your address to report it and found that the problem (and the fix!) has been known for at least half a year. Although your patches for