> -----Original Message-----
> From: Martin Pecka <pecka...@fel.cvut.cz>
> Sent: Thursday, March 31, 2022 7:38 AM
> To: Richard Cochran <richardcoch...@gmail.com>
> Cc: linuxptp-users@lists.sourceforge.net
> Subject: Re: [Linuxptp-users] Config section for /var/log/ptp4lro creates an
> additional port
>
>
> >>> You can make two global options, one for each flavor.
> >> I'm sorry, I don't understand your suggestion. Can you explain in a bit
> >> more
> >> detail, please?
> > Right now we have:
> >
> > uds_address /var/run/ptp4l
> > uds_ro_address /var/run/ptp4lro
> >
> > You could add:
> >
> > uds_address_filemode 0660
> > uds_ro_address_filemode 0666
> >
> > Hm?
>
> That would be ideal, but I'm out of ideas with the implementation. The
> file mode setting is needed in uds.c, but the uds_open() function has no
> flag telling it whether it is RW or RO (or some other?) UDS port.
>
Change the uds_open function to pass in the file mode.
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users