Re: [Linuxptp-users] Config section for /var/log/ptp4lro creates an additional port
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Keller, J. E <jac...@in...> - 2022-03-31 20:16:18
|
> -----Original Message----- > From: Martin Pecka <pec...@fe...> > Sent: Thursday, March 31, 2022 7:38 AM > To: Richard Cochran <ric...@gm...> > Cc: lin...@li... > 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. |