os/ossrv/genericopenlibs/openenvcore/include/spawn.dosc
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
/** @file  ../include/spawn.h
sl@0
     2
@internalComponent
sl@0
     3
*/
sl@0
     4
sl@0
     5
/** @def POSIX_SPAWN_RESETIDS
sl@0
     6
sl@0
     7
Flags that can be set in posix_spawnattr_t.
sl@0
     8
The POSIX_SPAWN_RESETIDS flag in the spawn-flags attribute of the object referenced by attrp governs the effective user ID of the child process. If this flag is not set, the child process shall inherit the parent process' effective user ID. 
sl@0
     9
If this flag is set, the child process' effective user ID shall be reset to the parent's real user ID. In either case, if the set-user-ID mode bit of the new process image file is set, the effective user ID of the child process shall become that file's owner ID before the new process image begins execution.
sl@0
    10
sl@0
    11
@publishedAll
sl@0
    12
@externallyDefinedApi
sl@0
    13
*/
sl@0
    14
sl@0
    15
/** @def POSIX_SPAWN_SETPGROUP
sl@0
    16
sl@0
    17
Flags that can be set in posix_spawnattr_t
sl@0
    18
If the POSIX_SPAWN_SETPGROUP flag is set in the spawn-flags attribute of the object referenced by attrp, and the spawn-pgroup attribute of the same object is non-zero, 
sl@0
    19
then the child's process group shall be as specified in the spawn-pgroup attribute of the object referenced by attrp.
sl@0
    20
sl@0
    21
@publishedAll
sl@0
    22
@externallyDefinedApi
sl@0
    23
*/
sl@0
    24
sl@0
    25
/** @def POSIX_SPAWN_SETSIGDEF
sl@0
    26
sl@0
    27
Flags that can be set in posix_spawnattr_t
sl@0
    28
If the POSIX_SPAWN_SETSIGDEF flag is set in the spawn-flags attribute of the object referenced by attrp, the signals specified in the spawn-sigdefault attribute of the same object shall be set to their default actions in the child process. 
sl@0
    29
Signals set to the default action in the parent process shall be set to the default action in the child process.
sl@0
    30
sl@0
    31
@publishedAll
sl@0
    32
@externallyDefinedApi
sl@0
    33
*/
sl@0
    34
sl@0
    35
/** @def POSIX_SPAWN_SETSIGMASK
sl@0
    36
sl@0
    37
Flags that can be set in posix_spawnattr_t
sl@0
    38
If the POSIX_SPAWN_SETSIGMASK flag is set in the spawn-flags attribute of the object referenced by attrp, the child process shall initially have the signal mask specified in the spawn-sigmask attribute of the object referenced by attrp.
sl@0
    39
sl@0
    40
@publishedAll
sl@0
    41
@externallyDefinedApi
sl@0
    42
*/
sl@0
    43
sl@0
    44
/** @def POSIX_SPAWN_SETSCHEDPARAM
sl@0
    45
sl@0
    46
Flags that can be set in posix_spawnattr_t
sl@0
    47
If the POSIX_SPAWN_SETSCHEDPARAM flag is set in the spawn-flags attribute of the object referenced by attrp, but POSIX_SPAWN_SETSCHEDULER is not set, the new process image shall initially have the scheduling policy of the calling process with the scheduling parameters specified in the spawn-schedparam attribute of the object referenced by attrp.
sl@0
    48
sl@0
    49
@publishedAll
sl@0
    50
@externallyDefinedApi
sl@0
    51
*/
sl@0
    52
sl@0
    53
/** @def POSIX_SPAWN_SETSCHEDULER
sl@0
    54
sl@0
    55
Flags that can be set in posix_spawnattr_t
sl@0
    56
If the POSIX_SPAWN_SETSCHEDULER flag is set in the spawn-flags attribute of the object referenced by attrp (regardless of the setting of the POSIX_SPAWN_SETSCHEDPARAM flag), the new process image shall initially have the scheduling policy specified in the spawn-schedpolicy attribute of the object referenced by attrp and the scheduling parameters specified in the spawn-schedparam attribute of the same object.
sl@0
    57
sl@0
    58
@publishedAll
sl@0
    59
@externallyDefinedApi
sl@0
    60
*/
sl@0
    61
sl@0
    62
/** @fn  posix_spawn(int* aPid, const wchar_t* aFile, const posix_spawn_file_actions_t* aFileActions, const posix_spawnattr_t* attrp, const wchar_t* aArgs, wchar_t** aEnvp)
sl@0
    63
@param aPid
sl@0
    64
@param aFile
sl@0
    65
@param aFileActions
sl@0
    66
@param attrp
sl@0
    67
@param aArgs
sl@0
    68
@param aEnvp
sl@0
    69
@return Upon successful completion, posix_spawn() and posix_spawnp() shall return the process ID of the child process to the parent process, in the variable pointed to by a non-NULL aPid argument, and shall return zero as the function return value. Otherwise, no child process shall be created, the value stored into the variable pointed to by a non-NULL aPid is unspecified, and an error number shall be returned as the function return value to indicate the error. If the pid argument is a null pointer, the process ID of the child is not returned to the caller.
sl@0
    70
sl@0
    71
The posix_spawn() and posix_spawnp() functions shall create a new process (child process) from the specified process image. The new process image shall be constructed from a regular executable file called the new process image file.
sl@0
    72
sl@0
    73
Note: When a child process created using posix_spawn() exits, the parent process receives a SIGCHLD signal.
sl@0
    74
sl@0
    75
@code
sl@0
    76
sl@0
    77
When a C program is executed as the result of this call, it shall be entered as a C-language function call as follows:
sl@0
    78
int main(int argc, char *aArgs[]);
sl@0
    79
where argc is the argument count and aArgs is an array of character pointers to the arguments themselves. In addition, the following variable:
sl@0
    80
extern char **environ;
sl@0
    81
shall be initialized as a pointer to an array of character pointers to the environment strings.
sl@0
    82
sl@0
    83
@endcode
sl@0
    84
  
sl@0
    85
The argument aArgs is an array of character pointers to null-terminated strings. The last member of this array shall be a null pointer and is not counted in argc. These strings constitute the argument list available to the new process image. The value in aArgs[0] should point to a filename that is associated with the process image being started by the posix_spawn() or posix_spawnp() function.
sl@0
    86
sl@0
    87
The argument aEnvp is an array of character pointers to null-terminated strings. These strings constitute the environment for the new process image. The environment array is terminated by a null pointer.
sl@0
    88
The aFile argument to posix_spawn() is a pathname that identifies the new process image file to execute.
sl@0
    89
sl@0
    90
If aFileActions is a null pointer, then file descriptors open in the calling process shall remain open in the child process, except for those whose close-on- exec flag FD_CLOEXEC is set (see fcntl() ). For those file descriptors that remain open, all attributes of the corresponding open file descriptions, including file locks (see fcntl() ), shall remain unchanged.
sl@0
    91
sl@0
    92
If aFileActions is not NULL, then the file descriptors open in the child process shall be those open in the calling process as modified by the spawn file actions object pointed to by file_actions and the FD_CLOEXEC flag of each remaining open file descriptor after the spawn file actions have been processed. The effective order of processing the spawn file actions shall be:
sl@0
    93
sl@0
    94
@code
sl@0
    95
1. The set of open file descriptors for the child process shall initially be the same set as is open for the calling process. All attributes of the corresponding open file descriptions, including file locks (see fcntl() ), shall remain unchanged.
sl@0
    96
2. The signal mask, signal default actions, and the effective user and group IDs for the child process shall be changed as specified in the attributes object referenced by attrp.
sl@0
    97
3. The file actions specified by the spawn file actions object shall be performed in the order in which they were added to the spawn file actions object.
sl@0
    98
4. Any file descriptor that has its FD_CLOEXEC flag set (see fcntl() ) shall be closed.
sl@0
    99
@endcode
sl@0
   100
sl@0
   101
The posix_spawn() and posix_spawnp() functions may fail if:
sl@0
   102
sl@0
   103
[EINVAL] The value specified by file_actions or attrp is invalid. 
sl@0
   104
sl@0
   105
@publishedAll
sl@0
   106
@externallyDefinedApi
sl@0
   107
*/
sl@0
   108
sl@0
   109
/** @fn  posix_spawn_file_actions_addclose(posix_spawn_file_actions_t* file_actions, int fid)
sl@0
   110
@param file_actions
sl@0
   111
@param fid
sl@0
   112
@return Upon successful completion, these functions shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   113
sl@0
   114
Add a close action to the file actions structure
sl@0
   115
The posix_spawn_file_actions_addclose() function shall add a close action to the object referenced by file_actions that shall cause the file descriptor fildes to be closed (as if close( fildes) had been called) when a new process is spawned using this file actions object.
sl@0
   116
sl@0
   117
A spawn file actions object is of type posix_spawn_file_actions_t (defined in <spawn.h>) and is used to specify a series of actions to be performed by a posix_spawn() or posix_spawnp() operation in order to arrive at the set of open file descriptors for the child process given the set of open file descriptors of the parent. 
sl@0
   118
These functions shall fail if:
sl@0
   119
sl@0
   120
@code
sl@0
   121
[EBADF] The value specified by fildes is negative or greater than or equal to {OPEN_MAX}.
sl@0
   122
These functions may fail if:
sl@0
   123
[EINVAL] The value specified by file_actions is invalid.
sl@0
   124
[ENOMEM] Insufficient memory exists to add to the spawn file actions object. 
sl@0
   125
@encode
sl@0
   126
sl@0
   127
@publishedAll
sl@0
   128
@externallyDefinedApi
sl@0
   129
*/
sl@0
   130
sl@0
   131
/** @fn  posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t* file_actions, int fid1,int fid2)
sl@0
   132
@param file_actions
sl@0
   133
@param fid1
sl@0
   134
@param fid2
sl@0
   135
@return Upon successful completion, the posix_spawn_file_actions_adddup2() function shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   136
sl@0
   137
Add a dup2 action to the file actions structure
sl@0
   138
sl@0
   139
The posix_spawn_file_actions_adddup2() function shall add a dup2() action to the object referenced by file_actions that shall cause the file descriptor fildes to be duplicated as newfildes (as if dup2( fid1, fid2) had been called) when a new process is spawned using this file actions object.
sl@0
   140
sl@0
   141
@code
sl@0
   142
The posix_spawn_file_actions_adddup2() function shall fail if:
sl@0
   143
sl@0
   144
[EBADF] The value specified by fildes or newfildes is negative or greater than or equal to {OPEN_MAX}.
sl@0
   145
[ENOMEM] Insufficient memory exists to add to the spawn file actions object.
sl@0
   146
The posix_spawn_file_actions_adddup2() function may fail if:
sl@0
   147
[EINVAL] The value specified by file_actions is invalid. 
sl@0
   148
@encode
sl@0
   149
sl@0
   150
@publishedAll
sl@0
   151
@externallyDefinedApi
sl@0
   152
*/
sl@0
   153
sl@0
   154
/** @fn  posix_spawn_file_actions_addopen(posix_spawn_file_actions_t* file_actions, int fid,const char* path, int oflag, mode_t mode)
sl@0
   155
@param file_actions
sl@0
   156
@param fid
sl@0
   157
@param path
sl@0
   158
@param oflag
sl@0
   159
@param mode
sl@0
   160
@return Upon successful completion, these functions shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   161
sl@0
   162
Add an open action to the file actions structure
sl@0
   163
sl@0
   164
The posix_spawn_file_actions_addopen() function shall add an open action to the object referenced by file_actions that shall cause the file named by path to be opened (as if open( path, oflag, mode) had been called, and the returned file descriptor, if not fid, had been changed to fid) when a new process is spawned using this file actions object. 
sl@0
   165
If fid was already an open file descriptor, it shall be closed before the new file is opened.
sl@0
   166
sl@0
   167
@code
sl@0
   168
These functions shall fail if:
sl@0
   169
[EBADF] The value specified by fildes is negative or greater than or equal to {OPEN_MAX}.
sl@0
   170
These functions may fail if:
sl@0
   171
[EINVAL]  The value specified by file_actions is invalid.
sl@0
   172
[ENOMEM]   Insufficient memory exists to add to the spawn file actions object. 
sl@0
   173
@encode
sl@0
   174
sl@0
   175
@publishedAll
sl@0
   176
@externallyDefinedApi
sl@0
   177
*/
sl@0
   178
sl@0
   179
/** @fn  posix_spawn_file_actions_destroy(posix_spawn_file_actions_t* file_actions)
sl@0
   180
@param file_actions
sl@0
   181
@return Upon successful completion, these functions shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   182
sl@0
   183
Empty and destroy the file actions structure.
sl@0
   184
The posix_spawn_file_actions_destroy() function shall destroy the object referenced by file_actions; the object becomes, in effect, uninitialized. An implementation may cause posix_spawn_file_actions_destroy() to set the object referenced by file_actions to an invalid value. A destroyed spawn file actions object can be reinitialized using posix_spawn_file_actions_init(); the results of otherwise referencing the object after it has been destroyed are undefined.
sl@0
   185
sl@0
   186
@publishedAll
sl@0
   187
@externallyDefinedApi
sl@0
   188
*/
sl@0
   189
sl@0
   190
/** @fn  posix_spawn_file_actions_init(posix_spawn_file_actions_t* file_actions)
sl@0
   191
@param file_actions
sl@0
   192
@return Upon successful completion, these functions shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   193
sl@0
   194
Initialize the file actions structure.
sl@0
   195
sl@0
   196
The posix_spawn_file_actions_init() function shall fail if:
sl@0
   197
[ENOMEM] Insufficient memory exists to initialize the spawn file actions object. 
sl@0
   198
sl@0
   199
@publishedAll
sl@0
   200
@externallyDefinedApi
sl@0
   201
*/
sl@0
   202
sl@0
   203
/** @fn  posix_spawnattr_destroy(posix_spawnattr_t* attrp)
sl@0
   204
@param attrp
sl@0
   205
@return Returns 0
sl@0
   206
sl@0
   207
Empty and cleanup the spawn attributes structure
sl@0
   208
sl@0
   209
@publishedAll
sl@0
   210
@externallyDefinedApi
sl@0
   211
*/
sl@0
   212
sl@0
   213
/** @fn  posix_spawnattr_getsigdefault(const posix_spawnattr_t* attrp, sigset_t* sigdefault)
sl@0
   214
@param attrp
sl@0
   215
@param sigdefault
sl@0
   216
@return Returns the sigdefault attribute
sl@0
   217
sl@0
   218
The posix_spawnattr_getsigdefault() function shall obtain the value of the spawn-sigdefault attribute from the attributes object referenced by attrp.
sl@0
   219
sl@0
   220
@publishedAll
sl@0
   221
@externallyDefinedApi
sl@0
   222
*/
sl@0
   223
sl@0
   224
/** @fn  posix_spawnattr_getflags(const posix_spawnattr_t* attrp,short* flags)
sl@0
   225
@param attrp
sl@0
   226
@param flags
sl@0
   227
@return Return the flags attribute
sl@0
   228
sl@0
   229
The posix_spawnattr_getflags() function shall obtain the value of the spawn-flags attribute from the attributes object referenced by attrp.
sl@0
   230
sl@0
   231
These functions may fail if:
sl@0
   232
[EINVAL] The value specified by attrp is invalid. 
sl@0
   233
sl@0
   234
@publishedAll
sl@0
   235
@externallyDefinedApi
sl@0
   236
*/
sl@0
   237
sl@0
   238
/** @fn  posix_spawnattr_getpgroup(const posix_spawnattr_t* attrp, pid_t* pgroup)
sl@0
   239
@param attrp
sl@0
   240
@param pgroup
sl@0
   241
@return Return the process group attribute
sl@0
   242
sl@0
   243
The posix_spawnattr_getpgroup() function shall obtain the value of the spawn-pgroup attribute from the attributes object referenced by attrp.
sl@0
   244
sl@0
   245
These functions may fail if:
sl@0
   246
[EINVAL] The value specified by attrp is invalid. 
sl@0
   247
sl@0
   248
@publishedAll
sl@0
   249
@externallyDefinedApi
sl@0
   250
*/
sl@0
   251
sl@0
   252
/** @fn  posix_spawnattr_getschedparam(const posix_spawnattr_t* attrp,struct sched_param* schedparam)
sl@0
   253
@param attrp
sl@0
   254
@param schedparam
sl@0
   255
@return Return scheduling parameters attribute
sl@0
   256
sl@0
   257
The posix_spawnattr_getschedparam() function shall obtain the value of the spawn-schedparam attribute from the attributes object referenced by attrp.
sl@0
   258
sl@0
   259
These functions may fail if:
sl@0
   260
[EINVAL] The value specified by attrp is invalid. 
sl@0
   261
sl@0
   262
@publishedAll
sl@0
   263
@externallyDefinedApi
sl@0
   264
*/
sl@0
   265
sl@0
   266
/** @fn  posix_spawnattr_getschedpolicy(const posix_spawnattr_t* attrp, int* policy)
sl@0
   267
@param attrp
sl@0
   268
@param policy
sl@0
   269
@return Return the scheduling policy attribute
sl@0
   270
sl@0
   271
The posix_spawnattr_getschedpolicy() function shall obtain the value of the spawn-schedpolicy attribute from the attributes object referenced by attrp.
sl@0
   272
sl@0
   273
These functions may fail if:
sl@0
   274
[EINVAL] The value specified by attrp is invalid. 
sl@0
   275
sl@0
   276
@publishedAll
sl@0
   277
@externallyDefinedApi
sl@0
   278
*/
sl@0
   279
sl@0
   280
/** @fn  posix_spawnattr_getsigmask(const posix_spawnattr_t* attrp, sigset_t* sigmask)
sl@0
   281
@param attrp
sl@0
   282
@param sigmask
sl@0
   283
@return Return the signal mask attribute
sl@0
   284
sl@0
   285
The posix_spawnattr_getsigmask() function shall obtain the value of the spawn-sigmask attribute from the attributes object referenced by attrp.
sl@0
   286
sl@0
   287
These functions may fail if:
sl@0
   288
[EINVAL] The value specified by attrp is invalid. 
sl@0
   289
sl@0
   290
@publishedAll
sl@0
   291
@externallyDefinedApi
sl@0
   292
*/
sl@0
   293
sl@0
   294
/** @fn  posix_spawnattr_init(posix_spawnattr_t* attrp)
sl@0
   295
@param attrp
sl@0
   296
@return Upon successful completion, posix_spawnattr_destroy() and posix_spawnattr_init() shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   297
sl@0
   298
Initialize the spawn attributes structure.
sl@0
   299
The posix_spawnattr_init() function shall initialize a spawn attributes object attr with the default value for all of the individual attributes used by the implementation. Results are undefined if posix_spawnattr_init() is called specifying an already initialized attr attributes object.
sl@0
   300
sl@0
   301
The posix_spawnattr_init() function shall fail if:
sl@0
   302
[ENOMEM]  Insufficient memory exists to initialize the spawn attributes object. 
sl@0
   303
sl@0
   304
@publishedAll
sl@0
   305
@externallyDefinedApi
sl@0
   306
*/
sl@0
   307
sl@0
   308
/** @fn  posix_spawnattr_setsigdefault(posix_spawnattr_t* attrp,const sigset_t* sigdefault)
sl@0
   309
@param attrp
sl@0
   310
@param sigdefault
sl@0
   311
@return Upon successful completion, posix_spawnattr_setsigdefault() shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   312
sl@0
   313
The posix_spawnattr_setsigdefault() function shall set the spawn-sigdefault attribute in an initialized attributes object referenced by attrp.
sl@0
   314
sl@0
   315
The posix_spawnattr_setsigdefault() function may fail if:
sl@0
   316
[EINVAL] The value of the attribute being set is not valid. 
sl@0
   317
sl@0
   318
@publishedAll
sl@0
   319
@externallyDefinedApi
sl@0
   320
*/
sl@0
   321
sl@0
   322
/** @fn  posix_spawnattr_setflags(posix_spawnattr_t* attrp, short flags)
sl@0
   323
@param attrp
sl@0
   324
@param flags
sl@0
   325
@return Upon successful completion, posix_spawnattr_setflags() shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   326
sl@0
   327
The posix_spawnattr_setflags() function shall set the spawn-flags attribute in an initialized attributes object referenced by attrp.
sl@0
   328
sl@0
   329
The posix_spawnattr_setflags() function may fail if:
sl@0
   330
[EINVAL]  The value of the attribute being set is not valid. 
sl@0
   331
sl@0
   332
@publishedAll
sl@0
   333
@externallyDefinedApi
sl@0
   334
*/
sl@0
   335
sl@0
   336
/** @fn  posix_spawnattr_setpgroup(posix_spawnattr_t* attrp, pid_t pgroup)
sl@0
   337
@param attrp
sl@0
   338
@param pgroup
sl@0
   339
@return Upon successful completion, posix_spawnattr_setpgroup() shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   340
sl@0
   341
Sets the process group attribute
sl@0
   342
The posix_spawnattr_setpgroup() function shall set the spawn-pgroup attribute in an initialized attributes object referenced by attrp.
sl@0
   343
sl@0
   344
The spawn-pgroup attribute represents the process group to be joined by the new process image in a spawn operation (if POSIX_SPAWN_SETPGROUP is set in the spawn-flags attribute). The default value of this attribute shall be zero.
sl@0
   345
The posix_spawnattr_setpgroup() function may fail if:
sl@0
   346
[EINVAL]The value of the attribute being set is not valid. 
sl@0
   347
sl@0
   348
@publishedAll
sl@0
   349
@externallyDefinedApi
sl@0
   350
*/
sl@0
   351
sl@0
   352
/** @fn  posix_spawnattr_setschedparam(posix_spawnattr_t* attrp,const struct sched_param* schedparam)
sl@0
   353
@param attrp
sl@0
   354
@param schedparam
sl@0
   355
@return Upon successful completion, posix_spawnattr_setschedparam() shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   356
sl@0
   357
Sets the scheduling parameters attribute.
sl@0
   358
The posix_spawnattr_setschedparam() function shall set the spawn-schedparam attribute in an initialized attributes object referenced by attrp.
sl@0
   359
sl@0
   360
The posix_spawnattr_setschedparam() function may fail if:
sl@0
   361
sl@0
   362
EINVAL The value of the attribute being set is not valid.
sl@0
   363
sl@0
   364
@publishedAll
sl@0
   365
@externallyDefinedApi
sl@0
   366
*/
sl@0
   367
sl@0
   368
/** @fn  posix_spawnattr_setschedpolicy(posix_spawnattr_t* attrp, int policy)
sl@0
   369
@param attrp
sl@0
   370
@param policy
sl@0
   371
@return Upon successful completion, posix_spawnattr_setschedpolicy() shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   372
sl@0
   373
The posix_spawnattr_setschedpolicy() function shall set the spawn-schedpolicy attribute in an initialized attributes object referenced by attrp.
sl@0
   374
sl@0
   375
The posix_spawnattr_setschedpolicy() function may fail if:
sl@0
   376
EINVAL The value of the attribute being set is not valid.
sl@0
   377
sl@0
   378
@publishedAll
sl@0
   379
@externallyDefinedApi
sl@0
   380
*/
sl@0
   381
sl@0
   382
/** @fn  posix_spawnattr_setsigmask(posix_spawnattr_t* attrp, const sigset_t* sigmask)
sl@0
   383
@param attrp
sl@0
   384
@param sigmask
sl@0
   385
@return @return Upon successful completion, posix_spawnattr_setschedpolicy() shall return zero; otherwise, an error number shall be returned to indicate the error.
sl@0
   386
sl@0
   387
sl@0
   388
Sets the sigmask attribute.
sl@0
   389
The posix_spawnattr_setsigmask() function shall set the spawn-sigmask attribute in an initialized attributes object referenced by attrp.
sl@0
   390
sl@0
   391
The posix_spawnattr_setsigmask() function may fail if:
sl@0
   392
sl@0
   393
EINVAL The value of the attribute being set is not valid.
sl@0
   394
sl@0
   395
@publishedAll
sl@0
   396
@externallyDefinedApi
sl@0
   397
*/