qrexec-utils: disable write-stdin (buffered writes) compilation

Not compatible with new qrexec protocol yet. To be done.
This commit is contained in:
Marek Marczykowski-Górecki 2013-12-27 05:40:53 +01:00
parent 3e0c5a74d2
commit aa31c67e24
2 changed files with 1 additions and 11 deletions

View File

@ -11,7 +11,7 @@ endif
all: libqrexec-utils.so.$(SO_VER) libqubes-rpc-filecopy.so.$(SO_VER) all: libqrexec-utils.so.$(SO_VER) libqubes-rpc-filecopy.so.$(SO_VER)
libqrexec-utils.so.$(SO_VER): unix-server.o ioall.o buffer.o write-stdin.o exec.o txrx-vchan.o libqrexec-utils.so.$(SO_VER): unix-server.o ioall.o buffer.o exec.o txrx-vchan.o
$(CC) $(LDFLAGS) -Wl,-soname,$@ -o $@ $^ $(XENLIBS) $(CC) $(LDFLAGS) -Wl,-soname,$@ -o $@ $^ $(XENLIBS)
libqubes-rpc-filecopy.so.$(SO_VER): ioall.o copy-file.o crc32.o unpack.o libqubes-rpc-filecopy.so.$(SO_VER): ioall.o copy-file.o crc32.o unpack.o
$(CC) $(LDFLAGS) -Wl,-soname,$@ -o $@ $^ $(CC) $(LDFLAGS) -Wl,-soname,$@ -o $@ $^

View File

@ -51,14 +51,4 @@ void set_block(int fd);
int get_server_socket(const char *); int get_server_socket(const char *);
int do_accept(int s); int do_accept(int s);
enum {
WRITE_STDIN_OK = 0x200,
WRITE_STDIN_BUFFERED,
WRITE_STDIN_ERROR
};
int flush_client_data(libvchan_t *vchan, int fd, int client_id, struct buffer *buffer);
int write_stdin(libvchan_t *vchan, int fd, int client_id, const char *data, int len,
struct buffer *buffer);
void set_nonblock(int fd); void set_nonblock(int fd);
int fork_and_flush_stdin(int fd, struct buffer *buffer);