getpath from a file descriptor

2024-01-24 Thread bilal
en removed). Does OpenBSD have a syscall for receiving the path from a file descriptor ? If not, how can I get them in a other way ? If not possible, do you planning to implements F_GETPATH, ? have a good days ! Best Regards, Bilal.

Re: getpath from a file descriptor

2024-01-24 Thread bilal
> No. See this previous conversation from 2 years ago when this last came > up in the mailing lists. claudio@ sums it up: > https://marc.info/?l=openbsd-tech&m=164250539119078&w=2 I understand why OpenBSD didn't implement this API with claudio@ sum up. I wouldn't expect that specific feature wi

plasmashell crashes when typing in the applications menu search bar

2024-01-24 Thread bilal
Hello Sylvain ! If my assumption is correct (KDE open a huge number of files during the query), So you had to increase the number of files open with > sysctl kern.maxfiles=102400 you can put it on `/etc/sysctl.conf`  like this at every boot kern.maxfiles will be setup to 102400 also, you had

Re: plasmashell crashes when typing in the applications menu search bar

2024-01-25 Thread bilal
On 2024-01-25T14:32:52.000+01:00, Stuart Henderson wrote: > On 2024/01/25 14:17, bi...@iscarioth.org wrote: > > >Stuart Henderson write : > > > > > That is ludicrous > > > > > > Ah, did I do something wrong because he only needs to setup staff groups > > /etc/login.conf and then

Re: plasmashell crashes when typing in the applications menu search bar

2024-01-25 Thread bilal
Stuart Henderson write : > That is ludicrous Ah, did I do something wrong because he only needs to setup staff groups /etc/login.conf and then no need to use `sysctl kern.maxfiles` ?

Re: -current firefox segfault: pledge "", syscall 289

2024-01-26 Thread bilal
> Most recent package on amd64 snapshot from yesterday: > > OpenBSD 7.4-current (GENERIC.MP) #1625: Thu Jan 25 09:16:39 MST 2024 > > gdb says > [...] > #0 shmget () at /tmp/-:2 > 2 /tmp/-: No such file or directory. > in /tmp/- Not sure is that only come from to firefox and pledge because i'd

Touchpad (with multipoint) from Lenovo Ideapad Idepad (81WQ) not working at all

2024-02-10 Thread bilal
Hi OpenBSD ! Recently when using Xenocara, i'm against an issue from /dev/wsmouse where Xenocara try to open it i caught a "Device busy" ( like wsmouse not seems working either) And when i check it out the `dmesg | grep ihidev` ``` ihidev0 at iic1 addr 0x15 gpio 18, vendor 0x4f3 product 0x314

Re: python-tkinter in 7.6

2024-10-13 Thread bilal
On 2024-10-13T14:11:24.000+02:00, Jon Tibble wrote: > On 13/10/2024 10:02, Kirill A. Korinsky wrote: > > >On Sun, 13 Oct 2024 09:54:50 +0200, > > Robert Alessi wrote: > > > > > > > > Shouldn't python-tkinter-3.11.10p0.tgz be updated to p1 in 7.6? To > > > date, it can't be installe

Why ihidev_ioctl() returns -1 ?

2024-10-06 Thread bilal
Hello @openbsd. I try to contribute on OpenBSD (as far as I can) to make work my ims/imt drivers. for > ihidev0 at iic1 addr 0x15, gpio18 vendor 0x4f3 product 0x3140 MSFT0001. Then, by cheking ihidev_ioctl, it only do `return -1;` any reasons ? > int > ihidev_ioctl(struct ihidev *sc, u_long c

Re: Need some information about fork(2)

2024-09-22 Thread bilal
Thanks for your answers ! Each information from both of you are interesting ! Sorry for disturbing and take a lot from your free times. On 2024-09-22T21:08:04.000+02:00, Otto Moerbeek wrote: > On Sun, Sep 22, 2024 at 08:07:54PM +0200, Страхиња Радић wrote: > > > >Дана 24/09/22 07:59PM,

Need some information about fork(2)

2024-09-22 Thread bilal
Hello OpenBSD team I'm having a little trouble understanding how this works. of fork(2), according to man. It's an exact copy of the parent process. There are limitations that are explicit in the man. However, I wanted to know if the pointers we use are the same. For example, if I had allocate

Re: Need some information about fork(2)

2024-09-22 Thread bilal
So if I understand well, if a fork(2) come with execve(2) it freed automatically the resources. However if fork(2) come with any allocator, I should take care of it ? On 2024-09-22T17:42:28.000+02:00, Otto Moerbeek wrote: > On Sun, Sep 22, 2024 at 05:33:36PM +0200, bi...@iscarioth.org wrote: > 

Re: Need some information about fork(2)

2024-09-22 Thread bilal
On 2024-09-22T18:40:44.000+02:00, Страхиња Радић wrote: > Attached is an example C program using fork(2). It dynamically > allocates a string array with malloc(3), then forks. Child free(3)s the > array, sleep(3)s for 3 seconds, then exits. Parent wait(2)s for > children, then prints the arra

Re: Need some information about fork(2)

2024-09-22 Thread bilal
Sorry for disturbing you, again... Does it means we should also free virtual memory from the child process before exiting ? On 2024-09-22T10:27:56.000+02:00, Otto Moerbeek wrote: > On Sun, Sep 22, 2024 at 10:08:56AM +0200, bi...@iscarioth.org wrote: >  >>  Hello OpenBSD team >>   >>   I'm havin

Review about this code ?

2024-09-25 Thread bilal
Hi ! Sorry for the inconvenience, I wanted to know if this piece of code seemed to be correct for a OpenBSD developer ? #define SAFE_FREE(addr)  do { \   if (addr) \     { \   free (addr); \   addr = NULL; \     } \   else \     { \   fprintf (stderr, " (double free inside %s

[Need help about bsd_auth.h/ question with Rust]

2022-08-01 Thread Bilal Emohmadian
Hello ! OBSD Teams ! How are you ? I'm a new user of OpenBSD, trying to port KDE5 (Plasma/Workspace/KWin/KScreenLocker) with wayland v1.19.0 in /usr/ports/ on OpenBSD 7.2-beta. . Can you explain how work the typedef struct authsession_t ? (Because i can't find him on github repo T-T) . _

AWS

2018-11-28 Thread Ahmad Bilal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Everyone or Salaam Is there a easy way to use OpenBSD on AWS EC2? I'm looking for guide to do so, if its possible. I know about Vultr, but no I don't want to switch from AWS just yet. I'm currently running FreeBSD on Lightsail. Sent with Proto

Re: AWS

2018-11-29 Thread Ahmad Bilal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I was hoping if there is a official how-to-guide. Or at least semi-official. Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Thursday, November 29, 2018 1:58 AM, yeddahbi wrote: > Hello Ahmad, > > Yes, it is definitely p

Re2: AWS

2018-11-29 Thread Ahmad Bilal
.eu> wrote: > > > > Hi, > > > > > Perhaps I've missed something. What do you need to set up using > > this guide? > > > > > > On Thu, 29 Nov 2018 at 17:41, Jungle Boogie > <[jungleboog...@gmail.com][jungleboogie0_gmail.com]> wrote: &

Re: Re2: AWS

2018-11-29 Thread Ahmad Bilal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I have done that, but when I search in community AMI, there is no OpenBSD. It returns a empty result. Does this have something to do with Amazon region? -BEGIN PGP SIGNATURE- Version: ProtonMail Comment: https://protonmail.com wsBcBAEBCAAQB

Fw: Re: Re2: AWS

2018-11-29 Thread Ahmad Bilal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Friday, November 30, 2018 7:26 AM, Ahmad Bilal wrote: > Yes, it appears so. Only 4-5 regions have community AMIs currently: > N.Virginia: Has 6.2, 6.3, 6.4 > Or

Core Dev?

2018-12-03 Thread Ahmad Bilal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Can anyone tell me, Is Antoine Jacoutot a core openbsd developer? And this is his account (not a impersonator?) https://github.com/ajacoutot/aws-openbsd Should I take it as a official way of running OpenBSD on AWS? Sent with ProtonMail Secure Emai

Re: Core Dev?

2018-12-03 Thread Ahmad Bilal
t; OpenBSD at a very young age due to Antoine's gCompris package 10 or more > years ago. Also, there is the very useful subscription for stable > packages at mtier.org. So unless Theo de Raadt or Antoine Jacoutot say > otherwise, I would think he is a core developer. > > On 12/3/1

Re: Core Dev?

2018-12-04 Thread Ahmad Bilal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thanks guys. I did see a reference of his name here and there. I just wanted to make sure (and thus asked it here). I'm sorry, if I have caused any confusion. But my concern is similar to what Andreas said. I basically want to know if what he has

Re: Core Dev?

2018-12-04 Thread Ahmad Bilal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 @Janne: Read up where? Link please (if you are referring to anything except that github) @Marc: Thanks for the information, but based on what you said, what would you consider as 'official' then? Just curious. And no, I'm not on OpenBSD at all 'y

Re: Core Dev?

2018-12-04 Thread Ahmad Bilal
hort extent at least. Any alternative you may have in mind, would be well appreciated as well. Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, December 4, 2018 11:37 PM, Bodie wrote: > On 4.12.2018 07:47, Ahmad Bilal wrote: > > > -BEGIN PGP SIGNED MES

Fw: Re: Core Dev?

2018-12-05 Thread Ahmad Bilal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Wednesday, December 5, 2018 3:40 PM, Ahmad Bilal wrote: > Woah! Where did that come from? > > Isn't this a bit too much? Perhaps you could have just i

Re: Core Dev?

2018-12-05 Thread Ahmad Bilal
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On a second thought, I will just leave this matter here, before it unnecessarily escalates into a fireball. In the end, I will just clear a few things please: - I genuinely didn't knew much about the structure of openBSD community/team or how lov