Lines Matching refs:OUSTR
46 #define OUSTR(x) ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(x) ) macro
63 SocketAddr::resolveHostname( OUSTR("localhost"), addr ); in localhost()
165 OUSTR("expected RuntimeException upon check!"), Reference< XInterface >() ); \
201 CHECK( ac.checkFilePermission( OUSTR("file:///usr/bin/bla"), OUSTR("read") ), invert ); in check_defaults_pos()
202 CHECK( ac.checkFilePermission( OUSTR("file:///tmp/bla"), OUSTR("read,write") ), invert ); in check_defaults_pos()
203 CHECK( ac.checkFilePermission( OUSTR("file:///tmp/path/path/bla"), OUSTR("write") ), invert ); in check_defaults_pos()
204 CHECK( ac.checkFilePermission( OUSTR("file:///etc/profile"), OUSTR("read") ), invert ); in check_defaults_pos()
205 CHECK( ac.checkRuntimePermission( OUSTR("DEF") ), invert ); in check_defaults_pos()
206 CHECK( ac.checkSocketPermission( OUSTR("localhost:1024"), OUSTR("connect") ), invert ); in check_defaults_pos()
207 CHECK( ac.checkSocketPermission( OUSTR("localhost:65535"), OUSTR("resolve") ), invert ); in check_defaults_pos()
208 CHECK( ac.checkSocketPermission( localhost(OUSTR(":2048")), OUSTR("accept,listen") ), invert ); in check_defaults_pos()
209 …CHECK( ac.checkSocketPermission( localhost(OUSTR(":1024-")), OUSTR("accept,connect,listen,resolve"… in check_defaults_pos()
210 …CHECK( ac.checkSocketPermission( OUSTR("localhost:-1023"), OUSTR("resolve,listen,connect") ), inve… in check_defaults_pos()
211 …CHECK( ac.checkSocketPermission( OUSTR("jl-1036.germany.sun.com:1024-"), OUSTR("resolve") ), inver… in check_defaults_pos()
216 CHECK( ac.checkFilePermission( OUSTR("file:///usr/tmp"), OUSTR("read") ), !invert ); in check_defaults_neg()
217 CHECK( ac.checkFilePermission( OUSTR("file:///"), OUSTR("read") ), !invert ); in check_defaults_neg()
218 CHECK( ac.checkFilePermission( OUSTR("file:///usr/bin"), OUSTR("read") ), !invert ); in check_defaults_neg()
219 CHECK( ac.checkFilePermission( OUSTR("file:///usr/bin/bla"), OUSTR("write") ), !invert ); in check_defaults_neg()
220 CHECK( ac.checkFilePermission( OUSTR("file:///usr/bin/bla"), OUSTR("execute") ), !invert ); in check_defaults_neg()
221 CHECK( ac.checkFilePermission( OUSTR("file:///usr/bin/path/bla"), OUSTR("read") ), !invert ); in check_defaults_neg()
222 CHECK( ac.checkFilePermission( OUSTR("file:///tmp"), OUSTR("read") ), !invert ); in check_defaults_neg()
223 CHECK( ac.checkFilePermission( OUSTR("file:///tmp/"), OUSTR("read") ), !invert ); in check_defaults_neg()
224 CHECK( ac.checkFilePermission( OUSTR("file:///tm"), OUSTR("read") ), !invert ); in check_defaults_neg()
225 CHECK( ac.checkFilePermission( OUSTR("file:///etc/profile"), OUSTR("write") ), !invert ); in check_defaults_neg()
226 CHECK( ac.checkFilePermission( OUSTR("file:///etc/profile/bla"), OUSTR("read") ), !invert ); in check_defaults_neg()
227 …CHECK( ac.checkFilePermission( OUSTR("file:///etc/blabla"), OUSTR("read,write,execute") ), !invert… in check_defaults_neg()
228 …CHECK( ac.checkFilePermission( OUSTR("file:///home/root"), OUSTR("read,write,execute") ), !invert … in check_defaults_neg()
229 CHECK( ac.checkFilePermission( OUSTR("file:///root"), OUSTR("read,write,execute") ), !invert ); in check_defaults_neg()
230 CHECK( ac.checkFilePermission( OUSTR("file:///root"), OUSTR("delete") ), !invert ); in check_defaults_neg()
231 CHECK( ac.checkFilePermission( OUSTR("file:///root"), OUString() ), !invert ); in check_defaults_neg()
232 CHECK( ac.checkRuntimePermission( OUSTR("ROOT") ), !invert ); in check_defaults_neg()
233 CHECK( ac.checkSocketPermission( OUSTR("localhost:1023"), OUSTR("accept") ), !invert ); in check_defaults_neg()
234 CHECK( ac.checkSocketPermission( OUSTR("localhost:123-"), OUSTR("accept") ), !invert ); in check_defaults_neg()
235 CHECK( ac.checkSocketPermission( localhost(OUSTR(":-1023")), OUSTR("accept") ), !invert ); in check_defaults_neg()
236 CHECK( ac.checkSocketPermission( OUSTR("localhost:-1023"), OUSTR("accept,resolve") ), !invert ); in check_defaults_neg()
237 CHECK( ac.checkSocketPermission( OUSTR("sun.com:1024-"), OUSTR("resolve") ), !invert ); in check_defaults_neg()
260 CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/bla"), OUSTR("read") ), invert ); in check_dbo_pos()
261 CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/bla"), OUSTR("write") ), invert ); in check_dbo_pos()
262 CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/bla"), OUSTR("read,write") ), invert ); in check_dbo_pos()
263 …CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/path/bla"), OUSTR("read,write") ), invert ); in check_dbo_pos()
264 …CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/path/path/bla"), OUSTR("read,write") ), inv… in check_dbo_pos()
265 CHECK( ac.checkFilePermission( OUSTR("file:///usr/local/dbo/*"), OUSTR("read") ), invert ); in check_dbo_pos()
266 CHECK( ac.checkFilePermission( OUSTR("file:///usr/local/dbo/bla"), OUSTR("read") ), invert ); in check_dbo_pos()
267 CHECK( ac.checkRuntimePermission( OUSTR("DBO") ), invert ); in check_dbo_pos()
268 CHECK( ac.checkSocketPermission( OUSTR("dbo-1:1024-"), OUSTR("listen") ), invert ); in check_dbo_pos()
269 CHECK( ac.checkSocketPermission( OUSTR("dbo-1:2048-3122"), OUSTR("listen") ), invert ); in check_dbo_pos()
270 CHECK( ac.checkSocketPermission( OUSTR("dbo-1:2048-"), OUSTR("listen") ), invert ); in check_dbo_pos()
271 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081:-1023"), OUSTR("resolve") ), invert ); in check_dbo_pos()
272 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081:20-1023"), OUSTR("resolve") ), invert ); in check_dbo_pos()
273 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081:18"), OUSTR("listen") ), invert ); in check_dbo_pos()
274 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081:20-24"), OUSTR("listen") ), invert ); in check_dbo_pos()
275 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081:22"), OUSTR("listen") ), invert ); in check_dbo_pos()
276 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081"), OUSTR("connect") ), invert ); in check_dbo_pos()
277 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081:22"), OUSTR("connect") ), invert ); in check_dbo_pos()
283 CHECK( ac.checkFilePermission( OUSTR("file:///home/-"), OUSTR("read") ), !invert ); in check_dbo_neg()
284 CHECK( ac.checkFilePermission( OUSTR("file:///home/jbu/bla"), OUSTR("read") ), !invert ); in check_dbo_neg()
285 CHECK( ac.checkFilePermission( OUSTR("file:///home/jbu/bla"), OUSTR("write") ), !invert ); in check_dbo_neg()
286 CHECK( ac.checkFilePermission( OUSTR("file:///home/jbu/bla"), OUSTR("read,write") ), !invert ); in check_dbo_neg()
287 CHECK( ac.checkFilePermission( OUSTR("file:///home/jbu/path/bla"), OUSTR("read") ), !invert ); in check_dbo_neg()
288 …CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/path/path/bla"), OUSTR("read,execute") ), !… in check_dbo_neg()
289 CHECK( ac.checkFilePermission( OUSTR("file:///usr/local/-"), OUSTR("read") ), !invert ); in check_dbo_neg()
290 …CHECK( ac.checkFilePermission( OUSTR("file:///usr/local/dbo/path/bla"), OUSTR("read") ), !invert ); in check_dbo_neg()
291 …CHECK( ac.checkFilePermission( OUSTR("file:///usr/local/dbo/path/path/bla"), OUSTR("read") ), !inv… in check_dbo_neg()
292 CHECK( ac.checkRuntimePermission( OUSTR("JBU") ), !invert ); in check_dbo_neg()
293 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081"), OUSTR("listen") ), !invert ); in check_dbo_neg()
294 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081:22"), OUSTR("accept") ), !invert ); in check_dbo_neg()
295 CHECK( ac.checkSocketPermission( OUSTR("jbu-11096:22"), OUSTR("resolve") ), !invert ); in check_dbo_neg()
313 CHECK( ac.checkFilePermission( OUSTR("file:///home/jbu/bla"), OUSTR("read") ), invert ); in check_jbu_pos()
314 CHECK( ac.checkFilePermission( OUSTR("file:///home/jbu/bla"), OUSTR("write") ), invert ); in check_jbu_pos()
315 CHECK( ac.checkFilePermission( OUSTR("file:///home/jbu/bla"), OUSTR("read,write") ), invert ); in check_jbu_pos()
316 …CHECK( ac.checkFilePermission( OUSTR("file:///home/jbu/path/bla"), OUSTR("read,write") ), invert ); in check_jbu_pos()
317 …CHECK( ac.checkFilePermission( OUSTR("file:///home/jbu/path/path/bla"), OUSTR("read,write") ), inv… in check_jbu_pos()
318 CHECK( ac.checkRuntimePermission( OUSTR("JBU") ), invert ); in check_jbu_pos()
319 CHECK( ac.checkSocketPermission( OUSTR("jbu-11096"), OUSTR("resolve") ), invert ); in check_jbu_pos()
320 CHECK( ac.checkSocketPermission( OUSTR("jbu-11096:20-24"), OUSTR("resolve") ), invert ); in check_jbu_pos()
321 …CHECK( ac.checkSocketPermission( OUSTR("dbo-11081.germany.sun.com:2048"), OUSTR("resolve") ), inve… in check_jbu_pos()
327 CHECK( ac.checkFilePermission( OUSTR("file:///home/-"), OUSTR("read") ), !invert ); in check_jbu_neg()
328 CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/path/bla"), OUSTR("read") ), !invert ); in check_jbu_neg()
329 …CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/path/path/bla"), OUSTR("read") ), !invert ); in check_jbu_neg()
330 CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/bla"), OUSTR("read") ), !invert ); in check_jbu_neg()
331 CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/bla"), OUSTR("write") ), !invert ); in check_jbu_neg()
332 CHECK( ac.checkFilePermission( OUSTR("file:///home/dbo/bla"), OUSTR("read,write") ), !invert ); in check_jbu_neg()
333 CHECK( ac.checkFilePermission( OUSTR("file:///usr/local/-"), OUSTR("read") ), !invert ); in check_jbu_neg()
334 CHECK( ac.checkFilePermission( OUSTR("file:///usr/local/dbo/bla"), OUSTR("read") ), !invert ); in check_jbu_neg()
335 …CHECK( ac.checkFilePermission( OUSTR("file:///usr/local/dbo/path/path/bla"), OUSTR("read") ), !inv… in check_jbu_neg()
336 CHECK( ac.checkRuntimePermission( OUSTR("DBO") ), !invert ); in check_jbu_neg()
337 CHECK( ac.checkSocketPermission( OUSTR("jbu-11096:20-24"), OUSTR("accept") ), !invert ); in check_jbu_neg()
338 CHECK( ac.checkSocketPermission( OUSTR("dbo-11081"), OUSTR("connect") ), !invert ); in check_jbu_neg()
339 …CHECK( ac.checkSocketPermission( OUSTR("dbo-11081.germany.sun.com"), OUSTR("connect") ), !invert ); in check_jbu_neg()
358 …CHECK( ac.checkFilePermission( OUSTR("file:///etc/blabla"), OUSTR("read,write,execute") ), invert … in check_root_pos()
359 …CHECK( ac.checkFilePermission( OUSTR("file:///home/root"), OUSTR("read,write,execute") ), invert ); in check_root_pos()
360 CHECK( ac.checkFilePermission( OUSTR("file:///root"), OUSTR("read,write,execute") ), invert ); in check_root_pos()
361 CHECK( ac.checkRuntimePermission( OUSTR("ROOT") ), invert ); in check_root_pos()
386 OUSTR("dyn violation!"), Reference< XInterface >(), perm ); in checkPermission()
460 OUSTR("../../test/security/test_security_singleuser.ini") ) ); in SAL_IMPLEMENT_MAIN()
473 OUSTR("../../test/security/test_security.ini") ); // UNO_AC=on in SAL_IMPLEMENT_MAIN()
478 ContextLayer layer( new user_CurrentContext( getCurrentContext(), OUSTR("dbo") ) ); in SAL_IMPLEMENT_MAIN()
487 ContextLayer layer( new user_CurrentContext( getCurrentContext(), OUSTR("jbu") ) ); in SAL_IMPLEMENT_MAIN()
495 ContextLayer layer( new user_CurrentContext( getCurrentContext(), OUSTR("root") ) ); in SAL_IMPLEMENT_MAIN()
502 ContextLayer layer( new user_CurrentContext( getCurrentContext(), OUSTR("guest") ) ); in SAL_IMPLEMENT_MAIN()