On Jul 26, 2017, at 7:50 AM, David Malcolm <dmalc...@redhat.com> wrote: > > On Wed, 2017-07-26 at 23:35 +0900, Oleg Endo wrote: >> On Mon, 2017-07-24 at 16:05 -0400, David Malcolm wrote: >>> >>> + >>> +You should have received a copy of the GNU General Public License >>> +along with GCC; see the file COPYING3. If not see >>> +<http://www.gnu.org/licenses/>. */ >>> + >>> +#ifndef GCC_SERVER_H >>> +#define GCC_SERVER_H >>> + >>> +/* Wrapper aroung "int" for file descriptors. */ >> ~~~^ >> around :) > > Thanks; fixed in my working copy. > > Someone pointed out to me privately that instead/as well as serving on > a port, we could be launched as a subprocess by the IDE, and serve the > RPC over stdin/stdout; this would be simpler for IDEs to cope with. I > may have a look at supporting that for the next version.
The security threat modeling I think is nicer if you read and write stdin/stdout. Once you open a port, you open a security hole. By not having holes by design, we avoid most of this space, which I see as a good thing.
smime.p7s
Description: S/MIME cryptographic signature