Re: Opening /proc//net/dev prevents network namespace from expiring

2020-08-24 Thread Grant Taylor

On 8/22/20 3:05 PM, Arne Welzel wrote:

Hello,


Hi,

as an unprivileged user one is able to keep network namespaces from 
expiring by opening /proc//net/dev of other processes.


This is what I would expect.

At least based on my understanding of how the various namespaces work. 
If something is using the namespace, it's not removed.  Opening a file / 
device therein would count as using it.



Does that seem like problematic behavior?


No, not as such.

This seems to me like a permissions issue on the /proc/ directory.

Read:  Set the permissions such that access is restricted appropriately.



--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: proxy_arp setting on a vlan interface is getting reset

2020-04-01 Thread Grant Taylor

On 4/1/20 10:49 AM, Nagaprabhanjan Bellari wrote:

Hi,


Hi,

I need a small help w.r.t proxy_arp setting on an interface - even if I 
set /sys/net/conf/ipv4/all/proxy_arp to 1, doing a ifdown and an ifup on 
a vlan interface resets the proxy_arp setting.


Can something be done to keep this from happening?


Check and see if there is a /sys/net/conf/ipv4/default/proxy_arp setting 
and if changing it does what you want.




--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Do I need strong mathematical bases to work in the memory subsystem?

2019-10-05 Thread Grant Taylor

On 10/2/19 9:42 PM, Ruben Safir wrote:
General plumbing is not needed, but predictive trees, and crypto 
certainly do and some hardware problems need calc, or even integration.


Those sound like hyper specific things and decidedly specif subsets of 
the kernel.


I believe that there is a LOT of room for kernel development that does 
not need advanced mathematics.



The harder the job, the more math is needed.


math ≠ advanced mathematics

I concede that quite a bit of math is used in the kernel.  But advanced 
mathematics is a ⊂ of mathematics.



Maybe, but I don't think so.  And the hardware is getting more exotic.


IMHO the eccentricity of the hardware has no direct correlation to the 
complexity of the device driver controlling said hardware.


Driving an external serial attached modem does not require advanced 
mathematics.  Creating a software based modem, be it kernel space and / 
or user space, does require advanced mathematics.  Notice how the 
simpler hardware requires more math conversely the more complex hardware 
does more of the work, thus needing simpler drivers.




--
Grant. . . .
unix || die




smime.p7s
Description: S/MIME Cryptographic Signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies