Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2008 10:30:32 -0700
From:      "Maksim Yevmenkin" <maksim.yevmenkin@gmail.com>
To:        "Alex Samorukov" <samm@os2.kiev.ua>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: bt dev questions
Message-ID:  <bb4a86c70810311030xcd59409wd1d630a1061d456a@mail.gmail.com>
In-Reply-To: <490B331F.6020305@os2.kiev.ua>
References:  <490B331F.6020305@os2.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Alex,

>  1) Why sdpd require root permission to open session? As for me it`s enough
> to check use file permissions on control socket. In Linux its possible to
> register service w/o root permissions, so in ported version I need to run it
> as root and then setuid to normal user.  What is the reason for this?

to have better control over what services are offered. basically, i do
not want to have any random application go and register bunch of
non-existent services. requiring 'root' permission is may be a little
bit excessive, but its easy to fix. could teach sdpd to accept
connections from specified group (or even list of groups/users).

>  2) I was not able to find how to change provider name and server
> description in SDP_SERVICE_CLASS_SERIAL_PORT profile. anyRemote using usual
> serial over bluetooth, but with changed service name field. I found howto
> change channel (server_channel) but not description. Is it possible at all?

not at this time.

>  I`m planning to submit my patches to the ports tree at nearest time.

thanks for your work.

thanks,
max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70810311030xcd59409wd1d630a1061d456a>